make public storage and direct upload optional
This commit is contained in:
@@ -46,9 +46,11 @@ Rails.application.configure do
|
||||
elsif ENV['AZURE_CONTAINER'].present?
|
||||
:azure
|
||||
else
|
||||
:local
|
||||
:disk
|
||||
end
|
||||
|
||||
config.active_storage.resolve_model_to_route = :rails_storage_proxy if ENV['ACTIVE_STORAGE_PUBLIC'] != 'true'
|
||||
|
||||
# Mount Action Cable outside main process or domain.
|
||||
# config.action_cable.mount_path = nil
|
||||
# config.action_cable.url = "wss://example.com/cable"
|
||||
|
||||
Reference in New Issue
Block a user