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());
|
app.useGlobalInterceptors(new LoggerErrorInterceptor());
|
||||||
|
|
||||||
// Security Headers
|
// Security Headers
|
||||||
app.use(helmet());
|
app.use(helmet({
|
||||||
|
contentSecurityPolicy: false,
|
||||||
|
crossOriginEmbedderPolicy: false,
|
||||||
|
}));
|
||||||
|
|
||||||
// Graceful Shutdown (Prisma & Docker)
|
// Graceful Shutdown (Prisma & Docker)
|
||||||
app.enableShutdownHooks();
|
app.enableShutdownHooks();
|
||||||
|
|||||||
Reference in New Issue
Block a user