Fork me on GitHub
#pedestal
<
2022-03-04
>
Casey14:03:25

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.

zeitstein17:03:51

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.