mercredi 9 juin 2021

How to store profile images linked to users on Python Flask - Heroku?

Right now i have a working flask application that allows people to make an account and upload an image as there profile picture but have some time heroku resets and the user image is lost, but i know you cant store these images on a my postgre database i have for my website, how would i store them so they dont get wiped every time heroku restarts. Currently I just have them stored in my 'static' folder in another folder called 'profile_pics'. Thank you. I can provide my github code if needed!




Aucun commentaire:

Enregistrer un commentaire