Don't overwrite storage service from engine
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user