X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3bc4f8e64f708b9e0bc8c7a4848cabff11d4d450..a6db591ff0ba6e0bbf976590fb0ba620105a61a5:/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