summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tissue/web/server.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tissue/web/server.scm b/tissue/web/server.scm
index bfe3992..909a4f5 100644
--- a/tissue/web/server.scm
+++ b/tissue/web/server.scm
@@ -316,9 +316,9 @@ See `start-web-server' for documentation of HOSTS."
                                               path "index.html"))
                          ;; Try path and path.html.
                          (list (string-append (assq-ref host-parameters 'website-directory)
-                                              "/" path)
+                                              path)
                                (string-append (assq-ref host-parameters 'website-directory)
-                                              "/" path ".html"))))))
+                                              path ".html"))))))
           (and file-path
                ;; Check that the file really is within the document
                ;; root.