all repos — homestead @ 7098e92b180061e10673aa1a3e22472482248f33

Code for my website

send 404 status...

Alan Pearce
commit

7098e92b180061e10673aa1a3e22472482248f33

parent

65370993d189c1a1ccb9ba29af3dfe6a1cb5b06b

1 file changed, 1 insertion(+), 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, {