diff --git a/src/main.ts b/src/main.ts index 1701912..2d2fc01 100644 --- a/src/main.ts +++ b/src/main.ts @@ -19,6 +19,7 @@ async function bootstrap() { SwaggerModule.setup('swagger', app, document); // add security headers app.use(helmet()); + app.set('trust proxy', 1); // enable cors app.enableCors({