demarches-normaliennes/config/initializers/active_storage_conf_override.rb
2018-02-15 14:30:18 +01:00

4 lines
192 B
Ruby

# FIXME: remove this once we moved to a properly structured infrastructure
if Rails.env.production? || Rails.env.staging?
Rails.application.config.active_storage.service = :clever_cloud
end