mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 20:44:08 +00:00
Increased expiration time on storage to prevent broken images as well as implement a fix for R2/S3 conflicts.
This commit is contained in:
@@ -33,6 +33,9 @@ Rails.application.configure do
|
||||
# Store uploaded files on the local file system (see config/storage.yml for options).
|
||||
config.active_storage.service = ENV.fetch("ACTIVE_STORAGE_SERVICE", "local").to_sym
|
||||
|
||||
# Set Active Storage URL expiration time to 7 days
|
||||
config.active_storage.urls_expire_in = 7.days
|
||||
|
||||
# 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