multer limit file size code example
Example: how to limit the file size in multer
var upload = multer({
storage: storage,
limits: { fileSize: maxSize } // filesize in bytes
}).single('bestand');
var upload = multer({
storage: storage,
limits: { fileSize: maxSize } // filesize in bytes
}).single('bestand');