Fork me on GitHub
#pedestal
<
2018-06-08
>
Joe Lane04:06:57

I’m incredibly stoked for the potential of vase + ions. I’ve tried (multiple times if I’m being honest) to get vase + datomic cloud to work before, but to no avail. Is there any discussion happening about combining vase + ions?

ddeaguiar13:06:45

@joe.lane nothing concrete but I’m sure it will happen. I’ll keep folks posted here once I have more information.

twashing19:06:26

Does anyone know how to turn off the Content-Security-Policy header?

twashing19:06:18

Interceptors I took from an example are io.pedestal.http.body-params/body-params and io.pedestal.http/html-body.

twashing19:06:58

But my response header still includes Content-Security-Policy: object-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https: http:;.

martinklepsch19:06:49

@twashing you can pass ::http/secure-headers {:content-security-policy-settings {:object-src "'none'"}} or similar in the service map

twashing19:06:22

Hmm, that doesn’t quite work. But I think it’s close… Now I can’t find any reference in the docs. http://pedestal.io/reference/index#_securing_a_pedestal_application

twashing19:06:36

Did you just dig through the code?

twashing19:06:22

@martinklepsch Did the trick. Thanks mate!