0👍
I had the same problem, try changing path omitting level up directories like this
tmpUploads/
To check if your file has been handled
console.log(req.file)
The output will look like this
{
fieldname: 'profileImg',
originalname: 'download.jpeg',
encoding: '7bit',
mimetype: 'image/jpeg',
destination: 'tmpUploads/',
filename: '1533819783059_profileImg',
path: 'tmpUploads/1533819783059_profileImg',
size: 11320
}
- [Vuejs]-Get Incorrect test coverage during Vue.js unit test
- [Vuejs]-Dynamically set Radio button from JSON using select option
Source:stackexchange.com