Merge pull request #4019 from betagouv/fix/disable-csp

disable csp
This commit is contained in:
Keirua 2019-07-01 12:10:33 +02:00 committed by GitHub
commit 64e5ea13a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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