diff options
Diffstat (limited to 'weeb/router.scm')
| -rw-r--r-- | weeb/router.scm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/weeb/router.scm b/weeb/router.scm index 575860b..689084a 100644 --- a/weeb/router.scm +++ b/weeb/router.scm @@ -69,11 +69,8 @@ ((_ name route* ...) #'(define name (list (%handle-route route*) ...)))))) -(use-modules (weeb fcgi)) (define (default-handler request) - (fcgi-display "Status: 404 Not Found\r\n") - (fcgi-display "Content-type: text/html\r\n\r\n") - (fcgi-display "Route not found.\n")) + '(404 "Route not found.")) (define (iter-routes request router) (match router |