diff --git a/src/pandeiro/boot_http/impl.clj b/src/pandeiro/boot_http/impl.clj index 28e953c..2d6ff9f 100644 --- a/src/pandeiro/boot_http/impl.clj +++ b/src/pandeiro/boot_http/impl.clj @@ -41,7 +41,7 @@ {:status 200 :headers {"Content-Type" "text/html"} :body (if-let [index-file (index-file-exists? files)] - (slurp index-file) + (io/file index-file) (format (str "" "