windows 10 pro office 2019 pro office 365 pro windows 10 home windows 10 enterprise office 2019 home and business office 2016 pro windows 10 education visio 2019 microsoft project 2019 microsoft project 2016 visio professional 2016 windows server 2012 windows server 2016 windows server 2019 Betriebssysteme office software windows server instagram takipçi instagram beğeni instagram görüntüleme instagram otomatik beğeni facebook beğeni facebook sayfa beğenisi facebook takipçi twitter takipçi twitter beğeni twitter retweet youtube izlenme youtube abone instagram

how to make files that have been uploaded to the backend with the Heroku server not orderly when deploying again

Asked By: Anonymous

I have a backend application using node js, the application can accept files uploaded to the server by multer then the path is stored in the mongodb database. I push this application to gitlab by continuously deployment it to the heroku server. When I try to upload the image to the server there is no problem and the image can appear on the static route (public), but when I update the code and push it to gitlab again, the image that was previously uploaded is now not showing. What should I do


Answered By: Anonymous

Heroku’s filesystem is ephemeral/short lived. Meaning, any images you upload will disappear after you redeploy your app. You can’t rely on Heroku’s filesystem to store images that need to persist for a longer time.

For saving images, have a look at 3rd party storage solutions such as Cloudinary or AWS S3.

techinplanet staff

Windows 10 Kaufen Windows 10 Pro Office 2019 Kaufen Office 365 Lizenz Windows 10 Home Lizenz Office 2019 Home Business Kaufen windows office 365 satın al follower kaufen instagram follower kaufen porno