diff --git a/index.js b/index.js index ba98b1f..5333d37 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ const upload = multer({ cb(null, filename); } }), - limits: { fileSize: 1024 * 1024 * 25 }, // 10 MB + limits: { fileSize: 1024 * 1024 * 10 }, // 10 MB fileFilter: function (req, file, cb) { const allowedExtensions = ['.mp3', '.mp4', '.mpeg', '.mpga', '.m4a', '.wav', '.webm']; const extension = path.extname(file.originalname);