Fork me on GitHub

How can I write an interceptor that will be called when pedestal serves static resources from the :io.pedestal.http/resource-path` dir? Any interceptors I add to the service-map don't get triggered 😕 Specifically I'm serving an html file in there and I want to override the CSP headers just when serving that specific file.


I'm using io.pedestal.http.ring-middlewares/fast-resource and two :leave interceptors before it to serve html from /. Don't know if that helps.