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 <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
This commit is contained in:
DrakiaXYZ 2024-04-17 07:39:11 +00:00 committed by chomp
parent 0bc807a6b8
commit acb02ed53d

View File

@ -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) }];
}
/**