aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-11-24 13:44:02 +0000
committerChristopher Baines <mail@cbaines.net>2019-11-24 20:18:08 +0000
commit33ecb7448eeb9e224b163f2b232630c8733a7cb6 (patch)
tree2d3ce061719ca9c1a0014c1528ef181a30a1ae53
parent78695c46a12ea00637b9e793445a5104986dc1aa (diff)
downloaddata-service-33ecb7448eeb9e224b163f2b232630c8733a7cb6.tar
data-service-33ecb7448eeb9e224b163f2b232630c8733a7cb6.tar.gz
Respond to any method with a 404, if the request is unrecognised
-rw-r--r--guix-data-service/web/controller.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/web/controller.scm b/guix-data-service/web/controller.scm
index 5c21f97..745537d 100644
--- a/guix-data-service/web/controller.scm
+++ b/guix-data-service/web/controller.scm
@@ -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)))))