about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/app.ts1
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, {