|
|
@ -101,7 +101,7 @@ const fileFilter = (req, file, cb) => { |
|
|
|
const uploader = multer({ |
|
|
|
const uploader = multer({ |
|
|
|
storage, |
|
|
|
storage, |
|
|
|
limits: { |
|
|
|
limits: { |
|
|
|
fileSize: 1024 * 1024 * 2048 // 5MB
|
|
|
|
fileSize: 1024 * 1024 * 5048 // 5MB
|
|
|
|
}, |
|
|
|
}, |
|
|
|
fileFilter |
|
|
|
fileFilter |
|
|
|
}); |
|
|
|
}); |
|
|
|