Handle 404s more appropriately if a requested route fails

This commit is contained in:
urlysses 2017-02-14 21:50:02 -05:00
parent a4e3aa169e
commit b2926d10c2
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ wordlist constant routes
find-route dup if
execute
else
0 or-404 exit
0 exit \ continue to 404
then
s\" HTTP/1.1 200 OK\n Content-Type: text/html\n\n" 2swap s+
rdrop exit then ;