Shopifex.Plug.SetCSPHeader exception (Shopifex v2.2.2) View Source

Adds Content-Security-Policy response header to the provided Plug.Conn in order to securely load embedded application in the Shopify admin panel.

Read more here: https://shopify.dev/apps/store/security/iframe-protection#embedded-apps

Link to this section Summary

Link to this section Functions

Specs

call(conn :: Plug.Conn.t(), opts :: Plug.opts()) :: Plug.Conn.t() | none()

Specs

init(options :: Plug.opts()) :: Plug.opts()