menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Strapi

Help, talk and share your thoughts about Strapi.

Channels
Team

How to handle images in strapi server deployed on heroku

June 17, 2021 at 11:04am

How to handle images in strapi server deployed on heroku

June 17, 2021 at 11:04am
I could upload images from my react front-end app deployed on heroku to strapi server which is also deployed on heroku, but the images get broken after few hours . What needs to be done to maintain the images on strapi database?

June 17, 2021 at 11:09am
Hi, you have to use services like cloudinary to store images. Storing images on heroku is not a good idea because in free tier after every 30 mins of inactivity the server will sleep and when it restarts then it deletes all the images and other files