Return 404 for unsupported URLs
gitile/handler.scm
| 38 | 38 | (format #t "Not found: ~a~%" (uri->string (request-uri request))) | |
| 39 | 39 | (show (style `((p "Resource not found: " | |
| 40 | 40 | ,(uri->string (request-uri request)))) | |
| 41 | - | "" "" footer))) | |
| 41 | + | "" "" footer) | |
| 42 | + | #:code 404)) | |
| 42 | 43 | ||
| 43 | 44 | (define (style page project ref footer) | |
| 44 | 45 | `(html |