diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f8bf0d6..7bf1660 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v1 with: - bun-version: 1.x.x + bun-version: 1.0.x - name: Install dependencies run: bun install --frozen-lockfile diff --git a/README.md b/README.md index 3a1bb58..3a05089 100644 --- a/README.md +++ b/README.md @@ -22,5 +22,3 @@ Accessing an endpoint with no destination will return a [`404`](https://develope | `/x` | Pulsate X | | `/youtube` | Pulsate YouTube | | `/discussions` | Pulsate Org Discussion | -| `/rules` | Pulsate Code of Conduct | -| `/rules-ja` | Pulsate Code of Conduct (Japanese) | diff --git a/bun.lockb b/bun.lockb index 9136316..30278ce 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/index.ts b/src/index.ts index c5da6fe..ba56198 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ import { Hono } from "hono"; const app = new Hono(); app.get("/", (c) => { - return c.text("ホームページ準備中..."); + return c.redirect("https://pulsate.dev", 302); }); app.get("/discord", (c) => { @@ -15,7 +15,7 @@ app.get("/github", (c) => { }); app.get("/x", (c) => { - return c.redirect("https://x.com/PulsateDev", 302); + return c.redirect("https://x.com/pulsate_dev", 302); }); app.get("/youtube", (c) => { @@ -26,28 +26,4 @@ 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( - "https://github.com/pulsate-dev/.github/blob/main/CODE_OF_CONDUCT.md", - 302, - ); -}); - -// TODO: replace pulsate.dev/code-of-conduct-ja -app.get("/rules-ja", (c) => { - return c.redirect( - "https://github.com/pulsate-dev/.github/blob/main/CODE_OF_CONDUCT_JA.md", - 302, - ); -}); - export default app;