enable static + activate csp in production

This commit is contained in:
clemkeirua 2019-07-02 09:40:38 +02:00
parent 0e87782ce9
commit d6f2de2fbf
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ Rails.application.configure do
}
# The Content-Security-Policy is NOT in Report-Only mode
config.content_security_policy_report_only = true
config.content_security_policy_report_only = false
config.lograge.enabled = ENV['LOGRAGE_ENABLED'] == 'enabled'
end