Respond to any method with a 404, if the request is unrecognised
This commit is contained in:
parent
78695c46a1
commit
33ecb7448e
1 changed files with 1 additions and 1 deletions
|
|
@ -299,5 +299,5 @@
|
||||||
(('GET "jobs") (delegate-to jobs-controller))
|
(('GET "jobs") (delegate-to jobs-controller))
|
||||||
(('GET "jobs" "queue") (delegate-to jobs-controller))
|
(('GET "jobs" "queue") (delegate-to jobs-controller))
|
||||||
(('GET "job" job-id) (delegate-to jobs-controller))
|
(('GET "job" job-id) (delegate-to jobs-controller))
|
||||||
(('GET path ...)
|
((method path ...)
|
||||||
(not-found (request-uri request)))))
|
(not-found (request-uri request)))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue