Browse Source

fix: add filesize limit in backend as well

pull/9690/head
Pranav C 1 month ago
parent
commit
c539fbcc5d
  1. 1
      packages/nocodb/src/modules/noco.module.ts

1
packages/nocodb/src/modules/noco.module.ts

@ -133,6 +133,7 @@ export const nocoModuleMetadata = {
storage: multer.diskStorage({}), storage: multer.diskStorage({}),
limits: { limits: {
fieldSize: NC_ATTACHMENT_FIELD_SIZE, fieldSize: NC_ATTACHMENT_FIELD_SIZE,
fileSize: NC_ATTACHMENT_FIELD_SIZE,
}, },
}), }),
], ],

Loading…
Cancel
Save