]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/secure_headers.rb
Fully internationalise the issues and reports interfaces.
[rails.git] / config / initializers / secure_headers.rb
index f30a4b86c3a6631e8e667f0ad1074df981662faf..b0b45aa13125f355fd56ca74b31217f0d970af8f 100644 (file)
@@ -27,7 +27,7 @@ cookie_policy = {
 }
 
 SecureHeaders::Configuration.default do |config|
-  config.hsts = "max-age=0"
+  config.hsts = SecureHeaders::OPT_OUT
   config.csp = SecureHeaders::OPT_OUT
   config.csp_report_only = csp_policy
   config.cookies = cookie_policy