diff --git a/src/main.ts b/src/main.ts index 0a01fdd..543767f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,6 +2,7 @@ import { RequestContextMiddleware } from '@app/common/middleware/request-context import { SeederService } from '@app/common/seed/services/seeder.service'; import { Logger, ValidationPipe } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; +import { NestExpressApplication } from '@nestjs/platform-express'; import { json, urlencoded } from 'body-parser'; import rateLimit from 'express-rate-limit'; import helmet from 'helmet'; @@ -26,7 +27,7 @@ async function bootstrap() { app.use( rateLimit({ - windowMs: 30 * 1000, + windowMs: 2 * 60 * 1000, max: 50, standardHeaders: true, legacyHeaders: false,