Respond to any method with a 404, if the request is unrecognised

This commit is contained in:
Christopher Baines 2019-11-24 13:44:02 +00:00
parent 78695c46a1
commit 33ecb7448e
1 changed files with 1 additions and 1 deletions

View File

@ -299,5 +299,5 @@
(('GET "jobs") (delegate-to jobs-controller))
(('GET "jobs" "queue") (delegate-to jobs-controller))
(('GET "job" job-id) (delegate-to jobs-controller))
(('GET path ...)
((method path ...)
(not-found (request-uri request)))))