]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/active_storage.rb
Improve parameters alignment
[rails.git] / config / initializers / active_storage.rb
index a246e62ac16f6abd61375477a4ba7e201f787f4c..bc909108058cf927dc623dab7b515aead9aedd8d 100644 (file)
@@ -31,4 +31,6 @@ Rails.configuration.after_initialize do
   ActiveSupport::Reloader.to_complete do
     ActiveStorage::Variant.prepend(OpenStreetMap::ActiveStorage::Variant)
   end
+
+  ActiveStorage::Service.url_expires_in = 1.week
 end