X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..64b3e289ac14533c6fb2b1223b6417ad0446878c:/app/controllers/export_controller.rb diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb index fc5b0ec80..50aa2a3c9 100644 --- a/app/controllers/export_controller.rb +++ b/app/controllers/export_controller.rb @@ -24,5 +24,9 @@ class ExportController < ApplicationController end end - def embed; end + def embed + append_content_security_policy_directives( + :frame_ancestors => %w[*] + ) + end end