aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/util.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web/util.scm')
-rw-r--r--guix-data-service/web/util.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/web/util.scm b/guix-data-service/web/util.scm
index 108c9ec..d5c18c4 100644
--- a/guix-data-service/web/util.scm
+++ b/guix-data-service/web/util.scm
@@ -44,7 +44,8 @@
(define (request->path-components-and-mime-type request)
(define extensions-to-mime-types
'(("json" . application/json)
- ("html" . text/html)))
+ ("html" . text/html)
+ ("txt" . text/plain)))
(define (ends-with-recognised-extension? path)
(any (lambda (extension)