Skip to content

Commit

Permalink
chore(velero-ui-api): remove helmet
Browse files Browse the repository at this point in the history
  • Loading branch information
jdetroyes committed May 17, 2024
1 parent 80c205b commit 005dc29
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/velero-ui-api/src/main.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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());
Expand Down

0 comments on commit 005dc29

Please sign in to comment.