X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/20bdbb05c32d6f93593974fbd37e811932841801..c36f09b28db7244066df53b9e52c7ab32a1693da:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 172be5653..15ffe58a2 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -18,8 +18,8 @@ class SiteController < ApplicationController content_security_policy(:only => :id) do |policy| policy.connect_src("*") - policy.img_src("*", :blob) - policy.script_src(*policy.script_src, "dev.virtualearth.net", :unsafe_eval) + policy.img_src(*policy.img_src, "*", :blob) + policy.script_src(*policy.script_src, :unsafe_eval) policy.style_src(*policy.style_src, :unsafe_inline) end