We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cfdfa0 commit 9112b6bCopy full SHA for 9112b6b
1 file changed
lib/live_debugger_web/plugs/allow_iframe.ex
@@ -9,6 +9,8 @@ defmodule LiveDebuggerWeb.Plugs.AllowIframe do
9
10
@spec call(Plug.Conn.t(), any) :: Plug.Conn.t()
11
def call(conn, _opts) do
12
- delete_resp_header(conn, "x-frame-options")
+ conn
13
+ |> delete_resp_header("x-frame-options")
14
+ |> delete_resp_header("content-security-policy")
15
end
16
0 commit comments