Skip to content
Snippets Groups Projects
Commit a31d3589 authored by HJ's avatar HJ :fire: Committed by feld
Browse files

Update http_security_plug.ex

parent 79bd363a
No related branches found
No related tags found
No related merge requests found
......@@ -117,8 +117,6 @@ defp csp_string do
if Config.get(:env) == :dev do
"script-src 'self' 'unsafe-eval'"
else
# TODO right now unsafe-eval is needed for WASM to load in chrome
# see: https://github.com/WebAssembly/content-security-policy/issues/7
"script-src 'self' 'wasm-unsafe-eval'"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment