So i faced this problem that files that i was uploading were uploading without extensions in nodejs express server to which i was uploading files using multer. 😕
Quick workaround i found was on this Github Multer Issue Page 😄
First of all run this command to install this package mime
Quick workaround i found was on this Github Multer Issue Page 😄
First of all run this command to install this package mime
npm install --save mime
And this is how i was able to make it work.😎
No comments:
Post a Comment