From e88ca67e2c762061b4f29047d1797363e36e93f9 Mon Sep 17 00:00:00 2001 From: HidemaruOwO Date: Tue, 28 Jan 2025 17:24:45 +0900 Subject: [PATCH] :books: add warning section (README.md) --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e8afef6..793e5f5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ A "410 Gone" frontend page for a Federated SNS. [View Demo Page](https://fedi-go
View Screenshots -![curl](./docs/curl.png) ![webpage](./docs/webpage.png)
@@ -22,6 +21,9 @@ A "410 Gone" frontend page for a Federated SNS. [View Demo Page](https://fedi-go You need to write `src/consts.ts` according to your instance information. +> [!WARNING] +> You shouldn't edit `dist/vercel.json`. If you changed this file, your activity pub server can't be return 410 GONE. + ```bash git clone https://git.v-sli.me/HidemaruOwO/FediGONE.git cd FediGONE @@ -29,10 +31,11 @@ cd FediGONE # edit src/consts.ts for your AP instance vim src/consts.ts +# export static HTML files bun run install bun run build -# deploy FediGONE +# deploy FediGONE on vercel cd dist vercel deploy --prod ```