fix(server): listen on all interfaces
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
ad911d983f
commit
b54cf88ca1
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,6 @@ async function bootstrap(): Promise<void> {
|
||||||
.build();
|
.build();
|
||||||
const swaggerDocument = SwaggerModule.createDocument(app, swaggerOptions);
|
const swaggerDocument = SwaggerModule.createDocument(app, swaggerOptions);
|
||||||
SwaggerModule.setup('/api-docs', app, swaggerDocument);
|
SwaggerModule.setup('/api-docs', app, swaggerDocument);
|
||||||
await app.listen(parseInt(env.PORT));
|
await app.listen(parseInt(env.PORT), '0.0.0.0');
|
||||||
}
|
}
|
||||||
bootstrap();
|
bootstrap();
|
Loading…
Reference in a new issue