Fork me on GitHub
#ring-swagger
<
2018-09-21
>
Diego03:09:25

I am trying to do this on compojure, with rfn but it does not work

(rfn [] (-> (response/resource-response "index.html" {:root "public"})
                 (response/content-type "text/html")))
It works if I return a string though, why is it?