fix: refactor and enhance

This commit is contained in:
Mohamed Marrouchi
2024-12-25 09:21:54 +01:00
parent 328c5cefb3
commit 717d403532
7 changed files with 152 additions and 58 deletions

View File

@@ -110,7 +110,7 @@ export const config: Config = {
storageMode: 'disk',
maxUploadSize: process.env.UPLOAD_MAX_SIZE_IN_BYTES
? Number(process.env.UPLOAD_MAX_SIZE_IN_BYTES)
: 2000000,
: 50 * 1024 * 1024, // 50 MB in bytes
appName: 'Hexabot.ai',
},
pagination: {