Add a DS_PROXY_URL env variable

This commit is contained in:
Paul Chavard 2019-10-30 16:15:38 +01:00
parent bc257911e9
commit 73d4ecf35d
3 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ Rails.application.configure do
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
config.active_storage.service = :local
config.active_storage.service = ENV['FOG_ENABLED'] == 'enabled' ? :openstack : :local
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log