Override the conf for active_storage
This commit is contained in:
parent
5746ba29da
commit
732af26946
1 changed files with 4 additions and 0 deletions
4
config/initializers/active_storage_conf_override.rb
Normal file
4
config/initializers/active_storage_conf_override.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
# 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
|
Loading…
Reference in a new issue