Fix the missing .well-known
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
63925530b1
commit
6bddb5c454
1 changed files with 1 additions and 0 deletions
|
@ -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`);
|
||||
|
|
Loading…
Reference in a new issue