From e87bebc3a3bd3b9408aca527b374f703c980070b Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 30 May 2021 01:44:46 +0200 Subject: :sparkles: avatars + attachments --- src/Server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Server.ts') diff --git a/src/Server.ts b/src/Server.ts index 15868129..57dfa536 100644 --- a/src/Server.ts +++ b/src/Server.ts @@ -31,8 +31,8 @@ export class CDNServer extends Server { export const multer = multerConfig({ storage: multerConfig.memoryStorage(), limits: { - fields: 0, - files: 1, + fields: 10, + files: 10, fileSize: 1024 * 1024 * 100, // 100 mb }, }); -- cgit 1.5.1