From ca6010557dbe843e1ff6292721f96c754a0bb54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Toulet?= <35176601+AgnesToulet@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:14:58 +0200 Subject: [PATCH] Update http-server.ts (#535) --- src/service/http-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/http-server.ts b/src/service/http-server.ts index 5fa2939d..0b23b5f1 100644 --- a/src/service/http-server.ts +++ b/src/service/http-server.ts @@ -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}`); });