Fix the missing .well-known
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-10-11 22:01:34 +02:00
parent 63925530b1
commit 6bddb5c454
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -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`);