fix(api): use PORT var (#262)

This commit is contained in:
Marc Mogdanz 2023-03-19 16:02:49 +01:00 committed by GitHub
parent 88e736ea41
commit 5ce51c389c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ async function bootstrap() {
const document = SwaggerModule.createDocument(app, options);
SwaggerModule.setup("api/docs", app, document);
await app.listen(3000);
await app.listen(configService.get<number>("PORT"));
}
bootstrap();