summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-11-16 21:28:35 +0000
committerMark Felder <feld@feld.me>2022-11-17 12:03:01 -0500
commita31d3589ed8c91cceece7dbdf362c9bfe69e0115 (patch)
tree6846aee3f611450b8adf16a7b3a87b3049a36c7a /lib
parent79bd363a68cce0600c93eaa4ac08782333c3e8bb (diff)
Update http_security_plug.ex
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/plugs/http_security_plug.ex2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/pleroma/web/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex
index 7a987a30b..34895c8d5 100644
--- a/lib/pleroma/web/plugs/http_security_plug.ex
+++ b/lib/pleroma/web/plugs/http_security_plug.ex
@@ -117,8 +117,6 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlug 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