diff options
Diffstat (limited to 'src/app.ts')
-rw-r--r-- | src/app.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.ts b/src/app.ts index c47e5e6..53433a9 100644 --- a/src/app.ts +++ b/src/app.ts @@ -233,6 +233,7 @@ export const server = { headers: { location: newpath }, }); } + status = 404; const notfound = files.get("/404.html"); if (notfound) { return serveFile(notfound, status, { |