简体   繁体   中英

Heroku + Carrierwave: images not found after deploy

I upload images with Carrierwave to Heroku ( /public/uploads ).

The problem is uploaded images are disappearing after every deploy to Heroku. How can I solve it?

Heroku does not store images for a longer time.

You can store images separately using Amazon S3.

Visit - https://devcenter.heroku.com/articles/s3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM