mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 07:42:32 -05:00
PRESIGNED_URLS_EXPIRE_MINUTES
This commit is contained in:
1 parent
38a5cb968b
commit
ecbe3c3e4f
1 file changed
+1
-1
@@ -49,7 +49,7 @@ Rails.application.configure do
|
|||||||
end
|
end
|
||||||
|
|
||||||
config.active_storage.resolve_model_to_route = :rails_storage_proxy if ENV['ACTIVE_STORAGE_PUBLIC'] != 'true'
|
config.active_storage.resolve_model_to_route = :rails_storage_proxy if ENV['ACTIVE_STORAGE_PUBLIC'] != 'true'
|
||||||
config.active_storage.service_urls_expire_in = 4.hours
|
config.active_storage.service_urls_expire_in = ENV.fetch('PRESIGNED_URLS_EXPIRE_MINUTES', '240').to_i.minutes
|
||||||
|
|
||||||
# Mount Action Cable outside main process or domain.
|
# Mount Action Cable outside main process or domain.
|
||||||
# config.action_cable.mount_path = nil
|
# config.action_cable.mount_path = nil
|
||||||
|
|||||||
Reference in new issue
Block a user