]> git.openstreetmap.org Git - rails.git/commitdiff
Update secure_headers configuration for upstream changes
authorTom Hughes <tom@compton.nu>
Fri, 8 Sep 2017 15:49:28 +0000 (16:49 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 8 Sep 2017 15:49:28 +0000 (16:49 +0100)
config/initializers/secure_headers.rb

index 59fe4225d810443cfe75949cc049a111d36a8736..361fb32838afcd6f00eeab8f4c15e38deab7ea27 100644 (file)
@@ -9,7 +9,7 @@ if defined?(CSP_REPORT_URL)
     :img_src => %w['self' data: www.gravatar.com *.wp.com *.tile.openstreetmap.org *.tile.thunderforest.com *.openstreetmap.fr],
     :media_src => %w['none'],
     :object_src => %w['self'],
-    :plugin_types => %w['none'],
+    :plugin_types => %w[],
     :script_src => %w['self'],
     :style_src => %w['self' 'unsafe-inline'],
     :report_uri => [CSP_REPORT_URL]