about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-16 09:38:31 +0100
committerGitHub <noreply@github.com>2022-11-16 09:38:31 +0100
commitad84fd25f131b4ec3e8b775f3596409fc34f71f2 (patch)
treea7c92e7902bb07f87500fecf76783773ddfe8ec1 /config/initializers
parent7efe2cf00f306b1a0cf7c5dc9faaac531f3402f8 (diff)
parent1901829f9ab20cecd0e011d73c1af1e9a9eb6c40 (diff)
Merge pull request #1941 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/content_security_policy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb
index 21f782b9c..0174e0636 100644
--- a/config/initializers/content_security_policy.rb
+++ b/config/initializers/content_security_policy.rb
@@ -31,7 +31,7 @@ if Rails.env.production?
     p.base_uri        :none
     p.default_src     :none
     p.frame_ancestors :none
-    p.script_src      :self, assets_host
+    p.script_src      :self, assets_host, "'wasm-unsafe-eval'"
     p.font_src        :self, assets_host
     p.img_src         :self, :data, :blob, *data_hosts
     p.style_src       :self, assets_host