I don't see anything obviously wrong but the following looks unusual:
(def app (-> (handler/site site-routes)
(wrap-file "resources")
(wrap-file-info)
(wrap-content-type)))
From https://stackoverflow.com/a/22788463/894091:
You don't need any of the extra middleware like
wrap-file
,wrap-file-info
, orwrap-content-type
, sincecompojure.route/resources
already does everything you need.
See if the following does the trick:
(def app
(handler/site app-routes))