This commit is contained in:
nate 2026-04-09 06:48:37 +04:00
parent ce36957ba3
commit 85df039f51
1 changed files with 3 additions and 3 deletions

View File

@ -114,9 +114,9 @@ async function renderRssResp(slug: string): Promise<Response> {
} }
const app = new Elysia() const app = new Elysia()
.get("/", () => new Response("PingQL status service", { // No status page lives at the root — show the same 404 visitors get for any
headers: { "content-type": "text/plain" }, // 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. // Static expand.js — cached aggressively, hash-busted via query string.
.get("/_static/expand.js", () => new Response(Bun.file(expandJsPath), { .get("/_static/expand.js", () => new Response(Bun.file(expandJsPath), {