R
Railway•16mo ago
safely9197

Help configuring express app for use with storage volume

Hi, I hope this is the right forum for this question. I have an express app that is using middleware called multer for image upload. I am trying to configure a storage volume to store the uploaded images. I have it mounted at /uploads. I have multer configured to store the uploaded image at /uploads/{filename}.ext When I submit the form in my app, the images don't appear to be uploading to the storage volume, as there is no activity in the console and I get a 404 error when trying to retrieve the uploaded image. Is there some type of permissions that need to be set in order to access the storage volume?
5 Replies
Percy
Percy•16mo ago
Project ID: d0d6c834-898b-49b8-b659-6d064b868dcf
safely9197
safely9197OP•16mo ago
project ID: d0d6c834-898b-49b8-b659-6d064b868dcf
Brody
Brody•16mo ago
safely9197
safely9197OP•16mo ago
I've got it working now 😄 , thank you for the example it was very helpful.
Brody
Brody•16mo ago
no problem, I'm glad my example helped!
Want results from more Discord servers?
Add your server