Add openstreetcam.org to security policy for iD
authorTom Hughes <tom@compton.nu>
Thu, 16 Nov 2017 10:17:22 +0000 (10:17 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 16 Nov 2017 10:17:22 +0000 (10:17 +0000)
app/controllers/site_controller.rb

index c727f86d9a55ab5084da81ce8ad637040024e500..49f942d3b730b58b2f82aed67fc0146165463d13 100644 (file)
@@ -120,7 +120,7 @@ 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],
+      :connect_src => %w[taginfo.openstreetmap.org *.mapillary.com openstreetcam.org],
       :img_src => %w[*],
       :script_src => %w[dev.virtualearth.net]
     )
       :img_src => %w[*],
       :script_src => %w[dev.virtualearth.net]
     )