From 85df039f518bb63c295ce7e50cfa1db9f58c2dfc Mon Sep 17 00:00:00 2001 From: nate Date: Thu, 9 Apr 2026 06:48:37 +0400 Subject: [PATCH] fix --- apps/status/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/status/src/index.ts b/apps/status/src/index.ts index 4f65fe1..4430a38 100644 --- a/apps/status/src/index.ts +++ b/apps/status/src/index.ts @@ -114,9 +114,9 @@ async function renderRssResp(slug: string): Promise { } const app = new Elysia() - .get("/", () => new Response("PingQL status service", { - headers: { "content-type": "text/plain" }, - })) + // No status page lives at the root — show the same 404 visitors get for any + // unknown slug, so a stray hit on the apex doesn't leak service identity. + .get("/", () => notFound()) // Static expand.js — cached aggressively, hash-busted via query string. .get("/_static/expand.js", () => new Response(Bun.file(expandJsPath), {