]> git.openstreetmap.org Git - rails.git/commitdiff
Add frame-src to allow http://127.0.0.1:8111
authorTom Hughes <tom@compton.nu>
Tue, 15 May 2018 11:43:37 +0000 (12:43 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 15 May 2018 11:43:37 +0000 (12:43 +0100)
app/controllers/application_controller.rb

index f92bd8cdff7874d4eeb136d413ea9e5b976310f9..f07d548608fc8d88484a0879a77ccf5a90e810ef 100644 (file)
@@ -410,6 +410,7 @@ class ApplicationController < ActionController::Base
   def map_layout
     append_content_security_policy_directives(
       :child_src => %w[http://127.0.0.1:8111],
+      :frame_src => %w[http://127.0.0.1:8111],
       :connect_src => %w[nominatim.openstreetmap.org overpass-api.de router.project-osrm.org],
       :form_action => %w[render.openstreetmap.org],
       :script_src => %w[graphhopper.com open.mapquestapi.com],