What you need to do:
- Place your files under resources/public
- Add (route/resource "/") to your handler map
- And (require '[compojure.route :as route]) somewhere before
- Add :resources-path "resources" to project.clj
See an example here.
Small and furry, well ... definitely furry. [source]
I think you mean
ReplyDelete(route/resources "/")
in the handler.