Move cache to file

No need to store caches in the cloud.
This commit is contained in:
Henne Vogelsang 2021-03-06 21:58:23 +01:00
parent 57360c183c
commit 1291d1846d
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0

View file

@ -1,5 +1,6 @@
CarrierWave.configure do |config|
config.storage = :file
config.cache_storage = :file
config.cache_dir = "#{Rails.root}/tmp/uploads"
config.enable_processing = false if Rails.env.test?
end