diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-06 00:24:10 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-18 20:43:35 +0300 |
commit | fa56c34b478c39639abfc51fbde6f55b5641ab1e (patch) | |
tree | 0ca2c9845d7f59a5db4046419687682a340639e0 /config | |
parent | 3ee8eb113d019df8e5312af42fb2f369577c324c (diff) |
Remove background_jobs-specific headers.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/secure_headers.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/config/initializers/secure_headers.rb b/config/initializers/secure_headers.rb index 6cc7484d748..a704dd2ee7e 100644 --- a/config/initializers/secure_headers.rb +++ b/config/initializers/secure_headers.rb @@ -50,8 +50,3 @@ SecureHeaders::Configuration.default do |config| config.csp[:script_src] << "maxcdn.bootstrapcdn.com" end end - -SecureHeaders::Configuration.override(:background_jobs) do |config| - config.csp[:frame_ancestors] = %w('self') - config.x_frame_options = 'SAMEORIGIN' -end |