Skip to content

Commit 83db2d9

Browse files
committed
Set worker-src CSP to also allow blob:
1 parent c612a43 commit 83db2d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

config/initializers/decidim.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@
141141

142142
config.content_security_policies_extra = {
143143
"connect-src" => "photon.komoot.io",
144-
"worker-src" => %w('self')
144+
"worker-src" => %w('self', 'blob:'),
145+
"child-src" => %w('self', 'blob:')
145146
}
146147

147148
if Rails.application.secrets.maps.present? && Rails.application.secrets.maps[:static_provider].present?

0 commit comments

Comments
 (0)