mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
fix(api): use PORT var (#262)
This commit is contained in:
parent
88e736ea41
commit
5ce51c389c
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ async function bootstrap() {
|
||||||
const document = SwaggerModule.createDocument(app, options);
|
const document = SwaggerModule.createDocument(app, options);
|
||||||
SwaggerModule.setup("api/docs", app, document);
|
SwaggerModule.setup("api/docs", app, document);
|
||||||
|
|
||||||
await app.listen(3000);
|
await app.listen(configService.get<number>("PORT"));
|
||||||
}
|
}
|
||||||
|
|
||||||
bootstrap();
|
bootstrap();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue