]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Fix rubocop issue
[rails.git] / app / controllers / site_controller.rb
index 64744bb2327e1bc2cb3a66d76e7486ffebfe4e96..74dbc41f553c2a652661b762f68190dc1a92bc7c 100644 (file)
@@ -120,9 +120,9 @@ class SiteController < ApplicationController
 
   def id
     append_content_security_policy_directives(
-      :connect_src => %w[nominatim.openstreetmap.org taginfo.openstreetmap.org *.mapillary.com openstreetcam.org],
-      :img_src => %w[*],
-      :script_src => %w[dev.virtualearth.net]
+      :connect_src => %w[*],
+      :img_src => %w[* blob:],
+      :script_src => %w[dev.virtualearth.net 'unsafe-eval']
     )
 
     render "id", :layout => false