enable csp

This commit is contained in:
clemkeirua 2019-06-27 11:10:29 +02:00
parent 4d6719fe7c
commit eaf850c1e9
4 changed files with 6 additions and 5 deletions

View file

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