diff options
author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-11-16 21:28:35 +0000 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2022-11-17 12:03:01 -0500 |
commit | a31d3589ed8c91cceece7dbdf362c9bfe69e0115 (patch) | |
tree | 6846aee3f611450b8adf16a7b3a87b3049a36c7a | |
parent | 79bd363a68cce0600c93eaa4ac08782333c3e8bb (diff) | |
download | pleroma-a31d3589ed8c91cceece7dbdf362c9bfe69e0115.tar.gz pleroma-a31d3589ed8c91cceece7dbdf362c9bfe69e0115.zip |
Update http_security_plug.ex
-rw-r--r-- | lib/pleroma/web/plugs/http_security_plug.ex | 2 |
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 |