mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(api): listen on SIGTERM for graceful shutdown
This commit is contained in:
parent
202665a510
commit
d58cb46f3e
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import { AppModule } from "./app.module";
|
|||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create<NestExpressApplication>(AppModule);
|
||||
app.enableShutdownHooks();
|
||||
|
||||
// Setup API Docs
|
||||
const options = new DocumentBuilder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue