Skip to content

Commit

Permalink
Update http-server.ts (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgnesToulet authored Jun 13, 2024
1 parent 741fdf2 commit ca60105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/http-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class HttpServer {
this.log.info(`${protocol?.toUpperCase()} Server started, listening at ${protocol}://${host}:${info.port}`);
});
} else {
this.server = this.app.listen(port, () => {
this.server.listen(port, () => {
const info = this.server.address() as net.AddressInfo;
this.log.info(`${protocol?.toUpperCase()} Server started, listening at ${protocol}://localhost:${info.port}`);
});
Expand Down

0 comments on commit ca60105

Please sign in to comment.