Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(main): point the HTTP surface comment at src/configure-app.ts
Yudhi Armyndharisc1387522385d
diff --git a/src/main.ts b/src/main.tsindex 492421ba9..371b2dcde 100644--- a/src/main.ts+++ b/src/main.ts@@ -148,9 +148,9 @@ async function bootstrap() {// the adapter. Inert (plain in-memory adapter) without REDIS_ENABLED, so single-node pays nothing.app.useWebSocketAdapter(new RedisIoAdapter(app));- // The production HTTP surface: in-flight body budget, body parsers, request context, the CSP- // nonce, helmet, the SPA document handler and CORS. Extracted so the e2e lane runs the SAME- // stack instead of a copy of it (src/config/configure-app.ts).+ // The production HTTP surface: request context, the CSP nonce, helmet, the SPA document handler,+ // CORS, in-flight body budget, body parsers and the trailing-slash DELETE refusal. Extracted so the+ // e2e lane runs the SAME stack instead of a copy of it (src/configure-app.ts).const { bodyLimit, inflightBudgetBytes } = configureApp(app);bootstrapLogger.log(`Request body caps: ${bodyLimit} per request, ${inflightBudgetBytes} bytes aggregate in flight`);