fixed play button
This commit is contained in:
@@ -16,13 +16,7 @@ func EscapeNAT(ScreenPort, GameplayServerPort string) (ServerPort string, Screen
|
|||||||
|
|
||||||
ScreenSharePort = port.EntireAddress
|
ScreenSharePort = port.EntireAddress
|
||||||
|
|
||||||
// init config to get domain name
|
port, err = abstractions.MapPort(GameplayServerPort, "", "")
|
||||||
Config, err := config.ConfigInit()
|
|
||||||
if err != nil {
|
|
||||||
return "", "", err
|
|
||||||
}
|
|
||||||
|
|
||||||
port, err = abstractions.MapPort(GameplayServerPort, Config.DomainName, "")
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", "", err
|
return "", "", err
|
||||||
}
|
}
|
||||||
@@ -33,7 +27,13 @@ func EscapeNAT(ScreenPort, GameplayServerPort string) (ServerPort string, Screen
|
|||||||
}
|
}
|
||||||
|
|
||||||
func EscapeNATBarrier() (barrierKVMport string, err error) {
|
func EscapeNATBarrier() (barrierKVMport string, err error) {
|
||||||
port, err := abstractions.MapPort("24798", "", "")
|
// init config to get domain name
|
||||||
|
Config, err := config.ConfigInit()
|
||||||
|
if err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
|
|
||||||
|
port, err := abstractions.MapPort("24798", Config.DomainName, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user