Fork me on GitHub
#reitit
<
2018-02-27
>
manutter5100:02:47

Is there an example that uses ring.middleware.resource/wrap-resource to serve things like js/css? I’m having trouble finding the working combination.

manutter5101:02:47

Also just to make sure this isn’t an x-y question, I’m converting a Pedestal-based re-frame app to use Reitit, and I need to get the functionality of loading the js/css files. I’m assuming that the ring middleware is the way to do that, but if there’s some other way, I’d like to hear about it.