]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/content_security_policy.rb
Move notes and blocks resources to api namespace
[rails.git] / config / initializers / content_security_policy.rb
index 5ce53e86360117b4f320d7e8f84d4da09edb2769..9ddaf70f94598b62f6d65a272457d61c68c05ed6 100644 (file)
@@ -6,7 +6,7 @@
 
 Rails.application.configure do
   connect_src = [:self]
 
 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)
   script_src = [:self]
 
   connect_src << Settings.matomo["location"] if defined?(Settings.matomo)