Skip to content

Commit 67c9e41

Browse files
removed trust proxy
1 parent c599f8d commit 67c9e41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ async function bootstrap() {
1919
SwaggerModule.setup('swagger', app, document);
2020
// add security headers
2121
app.use(helmet());
22-
app.set('trust proxy', 1);
2322
// enable cors
2423
app.enableCors({
2524
origin: process.env.CORS_ALLOWED_ORIGINS?.split(/\s*,\s*/) ?? '*',

0 commit comments

Comments
 (0)