fix(server): listen on all interfaces
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon Giesel 2020-09-21 14:45:45 +02:00
parent ad911d983f
commit b54cf88ca1

View file

@ -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();