Revert "try to fix ruffle on chrome"

This reverts commit 200f1b0e89.
This commit is contained in:
a1batross 2022-08-31 00:28:43 +02:00
parent 6f23d0ec28
commit d0223fb060
1 changed files with 1 additions and 3 deletions

View File

@ -117,9 +117,7 @@ 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' 'unsafe-eval'"
"script-src 'self'"
end
report = if report_uri, do: ["report-uri ", report_uri, ";report-to csp-endpoint"]