Closed kabundege closed 2 years ago
I'm trying this import multer from 'multer';
I'm trying this
import multer from 'multer';
const storage = multer.memoryStorage(); const multerUploads = multer({ storage }).single('image');
> but I get this error ![Capture](https://user-images.githubusercontent.com/50319826/90578705-4541c800-e1c4-11ea-8618-ac8536b47647.JPG)
@kabundege any solution on this?
The error originates from DataURIParser.encode from the datauri package. I don't see that this is caused by Multer...
DataURIParser.encode
datauri
issue Description ?
const storage = multer.memoryStorage(); const multerUploads = multer({ storage }).single('image');