]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Fix rubocop issue
[rails.git] / app / controllers / site_controller.rb
index 49f942d3b730b58b2f82aed67fc0146165463d13..74dbc41f553c2a652661b762f68190dc1a92bc7c 100644 (file)
@@ -120,9 +120,9 @@ class SiteController < ApplicationController
 
   def id
     append_content_security_policy_directives(
 
   def id
     append_content_security_policy_directives(
-      :connect_src => %w[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
     )
 
     render "id", :layout => false