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