Browse Source

Handle 404s more appropriately if a requested route fails

1991
urlysses 7 years ago
parent
commit
b2926d10c2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      1991.fs

+ 1
- 1
1991.fs 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 ;


Loading…
Cancel
Save