]> git.openstreetmap.org Git - rails.git/commitdiff
Added gps.tile.openstreetmap.org as allowed source for images
authorDimitar <19364673+Dimitar5555@users.noreply.github.com>
Tue, 28 May 2024 07:12:31 +0000 (10:12 +0300)
committerGitHub <noreply@github.com>
Tue, 28 May 2024 07:12:31 +0000 (10:12 +0300)
Resolves #4845

config/initializers/content_security_policy.rb

index 5ce53e86360117b4f320d7e8f84d4da09edb2769..9ddaf70f94598b62f6d65a272457d61c68c05ed6 100644 (file)
@@ -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)