diff --git a/src/main.ts b/src/main.ts index ee25cfa..31354e7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,6 +5,7 @@ import { AppModule } from "./app.module"; async function bootstrap() { const app = await NestFactory.create(AppModule); + app.enableShutdownHooks(); // Setup API Docs const options = new DocumentBuilder()