Respond to any method with a 404, if the request is unrecognised
This commit is contained in:
parent
78695c46a1
commit
33ecb7448e
|
@ -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)))))
|
||||
|
|
Loading…
Reference in New Issue