X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..c51786d10bc6dda488964f468a6a3071dd6912a8:/app/controllers/export_controller.rb?ds=inline 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