diff --git a/config/initializers/active_storage_conf_override.rb b/config/initializers/active_storage_conf_override.rb new file mode 100644 index 000000000..be56d2df4 --- /dev/null +++ b/config/initializers/active_storage_conf_override.rb @@ -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