Use the given `mime-types-path' for all files
svn: r12528
This commit is contained in:
parent
8b5b87c807
commit
f6aa15c531
|
@ -147,8 +147,7 @@
|
||||||
extra-files-paths))
|
extra-files-paths))
|
||||||
(files:make
|
(files:make
|
||||||
#:url->path (fsmap:make-url->path (build-path server-root-path "htdocs"))
|
#:url->path (fsmap:make-url->path (build-path server-root-path "htdocs"))
|
||||||
#:path->mime-type (make-path->mime-type
|
#:path->mime-type (make-path->mime-type mime-types-path)
|
||||||
(build-path server-root-path "mime.types"))
|
|
||||||
#:indices (list "index.html" "index.htm"))
|
#:indices (list "index.html" "index.htm"))
|
||||||
(lift:make file-not-found-responder)))
|
(lift:make file-not-found-responder)))
|
||||||
(define shutdown-server
|
(define shutdown-server
|
||||||
|
|
Loading…
Reference in New Issue
Block a user