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
Project ID:
d0d6c834-898b-49b8-b659-6d064b868dcf
project ID: d0d6c834-898b-49b8-b659-6d064b868dcf
heres an example app
https://github.com/brody192/multer-file-uploads
I've got it working now 😄 , thank you for the example it was very helpful.
no problem, I'm glad my example helped!