Fix the missing .well-known
continuous-integration/drone/push Build is passing Details

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
1 changed files with 1 additions and 0 deletions

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