From 69bc1c562f753a51cde460c100eab5d29aa052fc Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa <hi.ogawa.zz@gmail.com> Date: Thu, 4 Apr 2024 16:37:54 +0900 Subject: [PATCH 1/5] chore: readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c58e767a6f..0b9318139b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # ytsub-v3 +> [!note] +> Currently the application is shutdown as Planetscale closed a hobby plan. + +https://ytsub-v3-hiro18181.vercel.app + ```sh # development pnpm i From bbf8492b6af2e51541c65bccce7da6f202e808dc Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa <hi.ogawa.zz@gmail.com> Date: Thu, 4 Apr 2024 16:52:02 +0900 Subject: [PATCH 2/5] chore: vercel redirect --- misc/vercel/config.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/vercel/config.json b/misc/vercel/config.json index 5da3244632..fde3562379 100644 --- a/misc/vercel/config.json +++ b/misc/vercel/config.json @@ -1,6 +1,11 @@ { "version": 3, "routes": [ + { + "src": "^/(.*)$", + "status": 307, + "headers": { "Location": "https://github.com/hi-ogawa/ytsub-v3/pull/562" } + }, { "src": "^/assets/(.*)$", "headers": { From fc62240d78df3ef0fa99f7710246c18943aa3cbd Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa <hi.ogawa.zz@gmail.com> Date: Thu, 4 Apr 2024 17:00:26 +0900 Subject: [PATCH 3/5] ci: pin vercel cli --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b597cd464c..9b9c4863df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: - run: corepack enable - run: pnpm i - run: pnpm build - - run: npm i -g vercel@latest + - run: npm i -g vercel@33.0.1 - run: bash misc/vercel/auth-ci.sh env: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} From ea412776060326fb0e63c91bb4664205f5b3134b Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa <hi.ogawa.zz@gmail.com> Date: Thu, 4 Apr 2024 17:05:43 +0900 Subject: [PATCH 4/5] chore: tweak redirection --- misc/vercel/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/vercel/config.json b/misc/vercel/config.json index fde3562379..a0eafc9184 100644 --- a/misc/vercel/config.json +++ b/misc/vercel/config.json @@ -4,7 +4,7 @@ { "src": "^/(.*)$", "status": 307, - "headers": { "Location": "https://github.com/hi-ogawa/ytsub-v3/pull/562" } + "headers": { "location": "https://github.com/hi-ogawa/ytsub-v3" } }, { "src": "^/assets/(.*)$", From 98fddfd100f9c3a83fd5a2904ae19e86bbdbac9e Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa <hi.ogawa.zz@gmail.com> Date: Thu, 4 Apr 2024 17:06:05 +0900 Subject: [PATCH 5/5] Revert "ci: pin vercel cli" This reverts commit fc62240d78df3ef0fa99f7710246c18943aa3cbd. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b9c4863df..b597cd464c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: - run: corepack enable - run: pnpm i - run: pnpm build - - run: npm i -g vercel@33.0.1 + - run: npm i -g vercel@latest - run: bash misc/vercel/auth-ci.sh env: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}