mirror of
https://github.com/ClaperCo/Claper.git
synced 2025-12-16 11:57:58 +01:00
13 lines
197 B
Elixir
13 lines
197 B
Elixir
defmodule ClaperWeb.Plugs.Iframe do
|
|
import Plug.Conn
|
|
def init(_), do: %{}
|
|
|
|
def call(conn, _opts) do
|
|
conn
|
|
|> put_resp_header(
|
|
"x-frame-options",
|
|
"ALLOWALL"
|
|
)
|
|
end
|
|
end
|