]> git.openstreetmap.org Git - rails.git/blob - config/initializers/active_storage.rb
Enable open redirect protection
[rails.git] / config / initializers / active_storage.rb
1 Rails.application.config.active_storage.queues.analysis = :storage
2 Rails.application.config.active_storage.queues.purge = :storage
3
4 Rails.configuration.after_initialize do
5   ActiveStorage.service_urls_expire_in = 1.week
6 end