Skip to content

Commit 5857eb3

Browse files
committed
Set worker-src CSP to also allow https:
1 parent c612a43 commit 5857eb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/initializers/decidim.rb

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

142142
config.content_security_policies_extra = {
143143
"connect-src" => "photon.komoot.io",
144-
"worker-src" => %w('self')
144+
"worker-src" => %w('self', 'https:')
145145
}
146146

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

0 commit comments

Comments
 (0)