From 50c05846c093caf530f2979ddab44a025eb61475 Mon Sep 17 00:00:00 2001 From: CDN18 Date: Thu, 28 Nov 2024 18:24:57 +0800 Subject: [PATCH] add help at `/` --- src/well-known.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/well-known.ts b/src/well-known.ts index 11c2304..bb00d44 100644 --- a/src/well-known.ts +++ b/src/well-known.ts @@ -4,6 +4,10 @@ import { AppContext } from './config' const makeRouter = (ctx: AppContext) => { const router = express.Router() + router.get('/', (_req, res) => { + res.send('This is a bsky feed for posts potentially related to Starset the band. To show up in the feed, just include the tag #starset in your post. Send any feedback or suggestions to @mirror.starset.fans.') + }) + router.get('/.well-known/did.json', (_req, res) => { if (!ctx.cfg.serviceDid.endsWith(ctx.cfg.hostname)) { return res.sendStatus(404)