enable csp
This commit is contained in:
parent
4d6719fe7c
commit
eaf850c1e9
4 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue