Rails.application.config.active_storage.queue = :storage
+Rails.application.config.active_storage.variable_content_types << "image/bmp"
Rails.configuration.after_initialize do
require "active_storage/service/s3_service"
ActiveSupport::Reloader.to_complete do
ActiveStorage::Variant.prepend(OpenStreetMap::ActiveStorage::Variant)
end
+
+ ActiveStorage::Service.url_expires_in = 1.week
end