From acb02ed53d5bb0f06ad50aa14c8a38ea5b5b0ba5 Mon Sep 17 00:00:00 2001 From: DrakiaXYZ Date: Wed, 17 Apr 2024 07:39:11 +0000 Subject: [PATCH] Update client/server/list to use the right backend ip (!295) Update missed property to use new IP config value Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/295 Co-authored-by: DrakiaXYZ Co-committed-by: DrakiaXYZ --- project/src/controllers/GameController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index f8be4796..ac7e9dbe 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -484,7 +484,7 @@ export class GameController */ public getServer(sessionId: string): IServerDetails[] { - return [{ ip: this.httpConfig.ip, port: this.httpConfig.port }]; + return [{ ip: this.httpConfig.backendIp, port: Number.parseInt(this.httpConfig.backendPort) }]; } /**