📜  multer 中的限制大小 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:01.083000             🧑  作者: Mango

代码示例2
var multer = require('multer');
var maxSize = 200 * 1024 * 1024;
 var upload = multer({
        storage: storage
    limits: {fileSize: maxSize}
    }).single('file');