X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e488e4cf6780f651c986e6450fa9c1d80560e900..f2ca25b75c57ab772a8f9063bea82a6bc43fed78:/config/initializers/content_security_policy.rb?ds=sidebyside diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index 5ce53e863..9ddaf70f9 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -6,7 +6,7 @@ Rails.application.configure do connect_src = [:self] - img_src = [:self, :data, "www.gravatar.com", "*.wp.com", "tile.openstreetmap.org", "*.tile.thunderforest.com", "tile.tracestrack.com", "*.openstreetmap.fr"] + img_src = [:self, :data, "www.gravatar.com", "*.wp.com", "tile.openstreetmap.org", "gps.tile.openstreetmap.org", "*.tile.thunderforest.com", "tile.tracestrack.com", "*.openstreetmap.fr"] script_src = [:self] connect_src << Settings.matomo["location"] if defined?(Settings.matomo)