fix
This commit is contained in:
parent
ce36957ba3
commit
85df039f51
|
|
@ -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), {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue