File Metadata Microservice

Tell us what’s happening:
Below is the code to upload a file to a storage but where to find the file?
Where to find that storage?

// inside multer({}), file upto only 1MB can be uploaded
const upload = multer({
storage: storage,
limits : {fileSize : 1000000}
});

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 OPR/95.0.0.0

Challenge: MongoDB and Mongoose - Install and Set Up Mongoose

Link to the challenge:

Your title, the question, and the challenge you linked to are three different things. Which is just very confusing.

If this is about multer look at the docs, it shows you how to set the destination.

Ok. Thanks. I will analyse it later.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.