mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Update lib/pleroma/web/plugs/http_security_plug.ex
This commit is contained in:
parent
db76ea578a
commit
79bd363a68
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlug do
|
|||
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' 'unsafe-eval'"
|
||||
"script-src 'self' 'wasm-unsafe-eval'"
|
||||
end
|
||||
|
||||
report = if report_uri, do: ["report-uri ", report_uri, ";report-to csp-endpoint"]
|
||||
|
|
Loading…
Reference in a new issue