feat: configure ports, db url and api url with env variables
This commit is contained in:
@@ -30,6 +30,6 @@ async function bootstrap() {
|
||||
SwaggerModule.setup("api/swagger", app, document);
|
||||
}
|
||||
|
||||
await app.listen(8080);
|
||||
await app.listen(process.env.PORT || 8080);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user