From b2926d10c2c530f9f2a8ab0063262c8c7adc1aaa Mon Sep 17 00:00:00 2001 From: urlysses Date: Tue, 14 Feb 2017 21:50:02 -0500 Subject: [PATCH] Handle 404s more appropriately if a requested route fails --- 1991.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1991.fs b/1991.fs index c280e50..05fb311 100644 --- a/1991.fs +++ b/1991.fs @@ -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 ;