Handling file uploads in a deployed app

Handling file uploads in a deployed app
0
#1

Hello, I just deployed an express app to heroku and I discovered that image uploads which works perfectly when on my local machine, doesn’t work the same way once deployed. The images disappear after a couple of minutes.
Any ideas how to tackle this?

0 Likes

#2

Heroku’s file system, as you have discovered, is temporary.

You should look into storage solutions, like AWS buckets.

0 Likes