Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the syntax #102

Merged
merged 4 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ close #

<br />

### ✏️ Description

<!--
A clear and concise description
- Why did you make this change?
- Please describe how this method is better than others.
-->

<br />

### 🔄 Type of the Change

- [ ] 🎉 New Feature
Expand All @@ -21,15 +31,5 @@ close #

<br />

### ✏️ Description

<!--
A clear and concise description
- Why did you make this change?
- Please describe how this method is better than others.
-->

<br />

- [ ] I agree to follow the
[Code of Conduct](https://github.com/5ouma/reproxy/blob/main/.github/CODE_OF_CONDUCT.md).
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
lint:
name: 🧹 Lint
name: 🧹 Lint Check
runs-on: Ubuntu-Latest

steps:
Expand All @@ -33,7 +33,7 @@ jobs:
run: deno doc --lint ./src

format:
name: 📝 Format
name: 📝 Format Check
runs-on: Ubuntu-Latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[![CI](https://img.shields.io/github/actions/workflow/status/5ouma/reproxy/ci.yml?label=ci&style=flat-square)](https://github.com/5ouma/reproxy/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/actions/workflow/status/5ouma/reproxy/release.yml?label=release&style=flat-square)](https://github.com/5ouma/reproxy/actions/workflows/release.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/5ouma/reproxy/main.svg?style=flat-square)](https://results.pre-commit.ci/latest/github/5ouma/reproxy/main)
[![codecov](https://codecov.io/github/5ouma/reproxy/graph/badge.svg?token=OQB55KXJIL)](https://codecov.io/github/5ouma/reproxy)
[![codecov](https://codecov.io/github/5ouma/reproxy/graph/badge.svg)](https://codecov.io/github/5ouma/reproxy)

</div>

Expand Down
4 changes: 1 addition & 3 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,4 @@ app
? ctx.redirect(url.toString(), STATUS_CODE.PermanentRedirect)
: ctx.text(...await getContent(repository, ref, GITHUB_TOKEN));
})
.get("*", (ctx: Context) => {
return ctx.redirect("/", STATUS_CODE.SeeOther);
});
.get("*", (ctx: Context) => ctx.redirect("/", STATUS_CODE.SeeOther));