From 005dc299a18857e15d2f9a14beba740eb0ab12c2 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste DETROYES Date: Fri, 17 May 2024 19:10:20 +0800 Subject: [PATCH] chore(velero-ui-api): remove helmet --- apps/velero-ui-api/src/main.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/velero-ui-api/src/main.ts b/apps/velero-ui-api/src/main.ts index 050fdd2..ea51dd0 100644 --- a/apps/velero-ui-api/src/main.ts +++ b/apps/velero-ui-api/src/main.ts @@ -1,6 +1,5 @@ import { Logger, RequestMethod, ValidationPipe } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; -import helmet from 'helmet'; import { AppModule } from './app/app.module'; import passport from 'passport'; @@ -12,7 +11,6 @@ async function bootstrap() { app.setGlobalPrefix('api', { exclude: [{ path: 'health', method: RequestMethod.GET }], }); - app.use(helmet()); app.enableCors(); app.use(passport.initialize()); app.useGlobalPipes(new ValidationPipe());