summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-11-16 21:27:04 +0000
committerMark Felder <feld@feld.me>2022-11-17 12:03:01 -0500
commit79bd363a68cce0600c93eaa4ac08782333c3e8bb (patch)
tree41cae190a7448dfcd05909812a96763287350904 /lib
parentdb76ea578a550a4cbc0298d428b9c57ba605b276 (diff)
Update lib/pleroma/web/plugs/http_security_plug.ex
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/plugs/http_security_plug.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex
index 3ee48062e..7a987a30b 100644
--- a/lib/pleroma/web/plugs/http_security_plug.ex
+++ b/lib/pleroma/web/plugs/http_security_plug.ex
@@ -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"]