feat: request increase body size limit to 1mb

This commit is contained in:
Ali BARIN
2023-01-29 12:29:56 +00:00
parent 85a3558074
commit 078ea24cd2
3 changed files with 7 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ type AppConfig = {
bullMQDashboardUsername: string;
bullMQDashboardPassword: string;
telemetryEnabled: boolean;
requestBodySizeLimit: string;
};
const host = process.env.HOST || 'localhost';
@@ -89,6 +90,7 @@ const appConfig: AppConfig = {
webAppUrl,
webhookUrl,
telemetryEnabled: process.env.TELEMETRY_ENABLED === 'false' ? false : true,
requestBodySizeLimit: '1mb',
};
if (!appConfig.encryptionKey) {