]> git.openstreetmap.org Git - rails.git/commitdiff
Remove script sources which are no longer needed by iD
authorTom Hughes <tom@compton.nu>
Thu, 26 Jul 2018 16:44:16 +0000 (17:44 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 26 Jul 2018 16:44:16 +0000 (17:44 +0100)
app/controllers/site_controller.rb

index 6cbe302d61d2b928b70e5305c8f6a3b9a246efa0..efb77e2f52aad92574600d3d87082e3e1376bbe1 100644 (file)
@@ -120,7 +120,7 @@ class SiteController < ApplicationController
     append_content_security_policy_directives(
       :connect_src => %w[*],
       :img_src => %w[* blob:],
-      :script_src => %w[dev.virtualearth.net *.wikipedia.org www.wikidata.org services.arcgisonline.com serviceslab.arcgisonline.com 'unsafe-eval'],
+      :script_src => %w[dev.virtualearth.net 'unsafe-eval'],
       :style_src => %w['unsafe-inline']
     )