Move secure_headers into reloader

pull/10420/head
Oliver Günther 2 years ago
parent 8ec3f05767
commit 9f96e2926e
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      config/initializers/secure_headers.rb

@ -1,3 +1,4 @@
Rails.application.reloader.to_prepare do
SecureHeaders::Configuration.default do |config|
config.cookies = {
secure: true,
@ -73,3 +74,4 @@ SecureHeaders::Configuration.default do |config|
connect_src: connect_src
}
end
end

Loading…
Cancel
Save