From 33ecb7448eeb9e224b163f2b232630c8733a7cb6 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 24 Nov 2019 13:44:02 +0000 Subject: Respond to any method with a 404, if the request is unrecognised --- guix-data-service/web/controller.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))) -- cgit v1.2.3