From c539fbcc5d7e9a76f444a676e87154582cf743ab Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 21 Oct 2024 10:29:08 +0000 Subject: [PATCH] fix: add filesize limit in backend as well --- packages/nocodb/src/modules/noco.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nocodb/src/modules/noco.module.ts b/packages/nocodb/src/modules/noco.module.ts index c235337380..51e384a541 100644 --- a/packages/nocodb/src/modules/noco.module.ts +++ b/packages/nocodb/src/modules/noco.module.ts @@ -133,6 +133,7 @@ export const nocoModuleMetadata = { storage: multer.diskStorage({}), limits: { fieldSize: NC_ATTACHMENT_FIELD_SIZE, + fileSize: NC_ATTACHMENT_FIELD_SIZE, }, }), ],