Added support for "localhost" LRM Nodes
This commit is contained in:
parent
d1e674d8bb
commit
35731871f8
1 changed files with 3 additions and 0 deletions
|
|
@ -197,6 +197,9 @@ namespace LightReflectiveMirror
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// replace hard coded value for config value later
|
// 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");
|
var uri = new Uri($"http://{conf.LoadBalancerAddress}:{conf.LoadBalancerPort}/api/auth");
|
||||||
string endpointPort = conf.EndpointPort.ToString();
|
string endpointPort = conf.EndpointPort.ToString();
|
||||||
string gamePort = 7777.ToString();
|
string gamePort = 7777.ToString();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue