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