mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-19 05:23:14 +02:00
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