From 6bddb5c45467640a8db3f516ae46263a70c63096 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Tue, 11 Oct 2022 22:01:34 +0200 Subject: [PATCH] Fix the missing .well-known Signed-off-by: Sam Therapy --- server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server.ts b/server.ts index 24263d8..538bab7 100644 --- a/server.ts +++ b/server.ts @@ -8,6 +8,7 @@ app.use(async (ctx, next) => { await ctx.send({ root: `${Deno.cwd()}/dist`, index: "index.html", + hidden: true, }).catch(async () => { ctx.response.status = 404 ctx.response.body = await Deno.readTextFile(`${Deno.cwd()}/dist/404.html`);