In the app.js I have
app.use(multer({dest:'./uploads'}))
what's './uploads' here? it's the same level with app.js, what's the different between ./uploads with just uploads?
And I also saw some do '_/upload', what's the different with 'upload' then?
multerreadme: github.com/expressjs/multerdestoption is. The second shows in-and-outs of file paths on unix systems. Both resources are relevant, but not a direct answer to your question. Hence, I posted the links as comments.