Update main.ts
All checks were successful
Backend Deploy 🚀 / build-and-deploy (push) Successful in 34s
All checks were successful
Backend Deploy 🚀 / build-and-deploy (push) Successful in 34s
This commit is contained in:
@@ -18,7 +18,10 @@ async function bootstrap() {
|
||||
app.useGlobalInterceptors(new LoggerErrorInterceptor());
|
||||
|
||||
// Security Headers
|
||||
app.use(helmet());
|
||||
app.use(helmet({
|
||||
contentSecurityPolicy: false,
|
||||
crossOriginEmbedderPolicy: false,
|
||||
}));
|
||||
|
||||
// Graceful Shutdown (Prisma & Docker)
|
||||
app.enableShutdownHooks();
|
||||
|
||||
Reference in New Issue
Block a user