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