diff options
Diffstat (limited to 'src/util/multer.ts')
-rw-r--r-- | src/util/multer.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/multer.ts b/src/util/multer.ts new file mode 100644 index 00000000..bfdf6aff --- /dev/null +++ b/src/util/multer.ts @@ -0,0 +1,10 @@ +import multerConfig from "multer"; + +export const multer = multerConfig({ + storage: multerConfig.memoryStorage(), + limits: { + fields: 10, + files: 10, + fileSize: 1024 * 1024 * 100, // 100 mb + }, +}); |