added fix for reverse proxy

This commit is contained in:
2022-12-29 03:40:36 +00:00
parent ede9674a08
commit 4deff38c07
4 changed files with 78 additions and 72 deletions

View File

@@ -183,6 +183,8 @@ func Server() error {
return err
}
fmt.Println(proxyPort)
// updating with the current proxy address
ProxyIpAddr.Ipv4 = lowestLatencyIpAddress.Ipv4
ProxyIpAddr.ServerPort = proxyPort