Skip to content

Commit

Permalink
chore: /community to 410
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 committed Feb 14, 2024
1 parent 9be378e commit 55011d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ app.get('/youtube', (c) => {
return c.redirect('https://youtube.com/@pulsate-dev', 302);
});

app.get('/community', (c) => {
app.get('/discussions', (c) => {
return c.redirect('https://github.com/orgs/pulsate-dev/discussions', 302);
});

// TODO: remove /community
app.get('/community', (c) => {
return c.text("410 Gone: このエンドポイントは現在 /discussions に置き換わっています.", 410);
});

// TODO: replace pulsate.dev/code-of-conduct
app.get('/rules', (c) => {
return c.redirect(
Expand Down

0 comments on commit 55011d9

Please sign in to comment.