Fork me on GitHub
#luminus
<
2017-01-23
>
rnandan27309:01:07

I want enable my clojure web app to accessed in a iframe. How do i unset the X-Frame-Option Header ? Any ideas . Is it here https://ring-clojure.github.io/ring-headers/ring.middleware.x-headers.html#var-wrap-frame-options

yogthos14:01:19

so you'd want to update site-defaults with (assoc-in site-defaults [:security :frame-options] {:allow-from uri}) where uri is the URI you're calling the app from