fix(nutriphi): increase body size limit to 50mb for image uploads

The NutriPhi bot was failing with 413 "request entity too large" when
analyzing images via Base64. Added configurable bodyLimit option to
shared-nestjs-setup and set NutriPhi backend to 50mb.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-02 16:08:14 +01:00
parent c2c80efc50
commit b404ddc9a8
3 changed files with 13 additions and 2 deletions

View file

@ -6,4 +6,5 @@ bootstrapApp(AppModule, {
serviceName: 'NutriPhi',
additionalCorsOrigins: ['http://localhost:5180', 'http://localhost:4323'],
excludeFromPrefix: [], // no exclusions
bodyLimit: '50mb', // Large limit for Base64 image uploads
});