logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: a31d3589ed8c91cceece7dbdf362c9bfe69e0115
parent 79bd363a68cce0600c93eaa4ac08782333c3e8bb
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date:   Wed, 16 Nov 2022 21:28:35 +0000

Update http_security_plug.ex

Diffstat:

Mlib/pleroma/web/plugs/http_security_plug.ex2--
1 file 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 @@ -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