From 9d9769eef3bdd7614a639a547c28d5d52bbd1559 Mon Sep 17 00:00:00 2001 From: Saad Jutt Date: Sat, 2 Apr 2022 05:36:53 +0500 Subject: [PATCH] chore: increased file upload size to 100mb --- api/src/middlewares/multer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/middlewares/multer.ts b/api/src/middlewares/multer.ts index d46f466..21ab913 100644 --- a/api/src/middlewares/multer.ts +++ b/api/src/middlewares/multer.ts @@ -4,7 +4,7 @@ import multer, { FileFilterCallback, Options } from 'multer' import { blockFileRegex, getTmpUploadsPath } from '../utils' const fieldNameSize = 300 -const fileSize = 10485760 // 10 MB +const fileSize = 104857600 // 100 MB const storage = multer.diskStorage({ destination: getTmpUploadsPath(),