-
This commit is contained in:
@@ -704,6 +704,9 @@
|
||||
#:not-exist [on-not-exist (λ (file base-path path) path)]
|
||||
)
|
||||
(λ (file)
|
||||
(let* ((idx (string-find file "?")))
|
||||
(unless (eq? idx #f)
|
||||
(set! file (substring file 0 idx))))
|
||||
(let ((f (if (string=? file "/") "index.html" file)))
|
||||
(when (string-prefix? f "/")
|
||||
(set! f (substring f 1)))
|
||||
|
||||
Reference in New Issue
Block a user