feat(api): health check route
vi did:web:vt3e.cat
Sat, 23 May 2026 17:10:35 +0100
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
pkgs/bot/src/server/index.ts
→
pkgs/bot/src/server/index.ts
@@ -521,6 +521,10 @@ return Response.json(response);
}, }, + "/api/health": () => { + return Response.json({ status: "ok" }); + }, + "/api/*": () => new Response(null, { status: 404 }), "/*": async (request: BunRequest) => {