X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d7b4f88d5e342b5c2b4f2435d0394e4286524678..c5ef6404f5782c8305f9d1d25d2c99a545cdd9a1:/app/controllers/application_controller.rb?ds=sidebyside diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 26bb92f9a..ff3f67efd 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -410,7 +410,8 @@ class ApplicationController < ActionController::Base def map_layout append_content_security_policy_directives( :connect_src => %w(nominatim.openstreetmap.org overpass-api.de router.project-osrm.org valhalla.mapzen.com), - :script_src => %w(graphhopper.com open.mapquestapi.com) + :script_src => %w(graphhopper.com open.mapquestapi.com), + :img_src => %w(developer.mapquest.com) ) request.xhr? ? "xhr" : "map"