aboutsummaryrefslogtreecommitdiff
path: root/module/entry-points/server.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/entry-points/server.scm')
-rw-r--r--module/entry-points/server.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/entry-points/server.scm b/module/entry-points/server.scm
index fc832c13..64204b9d 100644
--- a/module/entry-points/server.scm
+++ b/module/entry-points/server.scm
@@ -70,6 +70,8 @@
(return '((content-type text/html))
(sxml->html-string '(a (@ (href "/today")) "Gå till idag"))))
+ ;; TODO any exception in this causes the whole page to fail
+ ;; It would be much better if most of the page could still make it.
(GET "/week/:start-date.html" (start-date)
(let* ((start-date
(start-of-week (parse-iso-date start-date)