diff --git a/config/environments/production.rb b/config/environments/production.rb index 68cd831ce..71991aecd 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -41,7 +41,10 @@ Rails.application.configure do } # Select Active Storage service via env var; default to local disk. - config.active_storage.service = ENV.fetch("ACTIVE_STORAGE_SERVICE", "local").to_sym + # Don't overwrite if it's already been set (e.g. by fizzy-saas) + if config.active_storage.service.blank? + config.active_storage.service = ENV.fetch("ACTIVE_STORAGE_SERVICE", "local").to_sym + end # Enable serving of images, stylesheets, and JavaScripts from an asset server. # config.asset_host = "http://assets.example.com"