I have a static file called index.html that I\'d like to serve when someone requests /. Usually web servers do this by default, but Compojure doesn
index.html
/
when other code doesnt work, try this code.
(GET "/about/" [] (ring.util.response/content-type (ring.util.response/resource-response "about/index.html" {:root "public"}) "text/html"))