all repos — website @ d7ac66da3ccffb266caed2ebce574a4ab5737e79

My website

send 404 status...
Alan Pearce alan@alanpearce.eu
Mon, 15 Apr 2024 23:28:49 +0200
commit

d7ac66da3ccffb266caed2ebce574a4ab5737e79

parent

bcc39f9b443e23d034523ec72e035c73b7ab9a55

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/app.tssrc/app.ts
@@ -233,6 +233,7 @@ status: status,             headers: { location: newpath },
           });
         }
+        status = 404;
         const notfound = files.get("/404.html");
         if (notfound) {
           return serveFile(notfound, status, {