DEV Community

Discussion on: Why photo not upload when i deploy on heroku

Collapse
 
olivierjm profile image
Olivier JM Maniraho

Heroku only gives you an instance to host your app but doesn't give you a file system to write to, that means you can't directly upload files, if you need to make use of the file system for uploading and reading of files you might want to use like Digital Ocean droplets or AWS EC2, the most efficient way for you with Heroku will be to use Cloudinary or AWS S3 buckets, these services are optimised for file handling and delivery too.

Collapse
 
tantanmoy profile image
TANMOY MANDAL

Thank you...

Collapse
 
orneliochauque profile image
Ornélio Chaúque

I had the same issue. Thanks for replay, really helped me.