diff --git a/ts/server/src/main.ts b/ts/server/src/main.ts index 3f93a57..c4c63cb 100644 --- a/ts/server/src/main.ts +++ b/ts/server/src/main.ts @@ -1,8 +1,10 @@ import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; +import { json } from 'express'; async function bootstrap() { const app = await NestFactory.create(AppModule, { cors: true }); + app.use(json({ limit: '5mb' })); await app.listen(8090); } bootstrap();