diff --git a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs index 2df49be..000c370 100644 --- a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs +++ b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs @@ -197,6 +197,9 @@ namespace LightReflectiveMirror try { // replace hard coded value for config value later + if (conf.LoadBalancerAddress.ToLower() == "localhost") + conf.LoadBalancerAddress = "127.0.0.1"; + var uri = new Uri($"http://{conf.LoadBalancerAddress}:{conf.LoadBalancerPort}/api/auth"); string endpointPort = conf.EndpointPort.ToString(); string gamePort = 7777.ToString();