1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02: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:
Josh Pigford 2025-01-23 10:11:09 -06:00
parent 44961f3628
commit e4a374772a
3 changed files with 8 additions and 0 deletions

View file

@ -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"