R
Railway•10mo ago
Raymond

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•10mo ago
Project ID: d0d6c834-898b-49b8-b659-6d064b868dcf
Raymond
Raymond•10mo ago
project ID: d0d6c834-898b-49b8-b659-6d064b868dcf
Brody
Brody•10mo ago
Raymond
Raymond•10mo ago
I've got it working now 😄 , thank you for the example it was very helpful.
Brody
Brody•10mo ago
no problem, I'm glad my example helped!