connected remotegameprivate and backend

This commit is contained in:
2023-02-24 15:41:40 +00:00
parent 574317d286
commit 0fadadee2d
24 changed files with 2101 additions and 151 deletions

View File

@@ -24,6 +24,8 @@ type Config struct {
SSHPassword string
NATEscapeServerPort string
NATEscapeBarrierPort string
BackendURL string
Rate float64
}
// Exists reports whether the named file or directory exists.
@@ -63,6 +65,8 @@ func SetDefaults() error {
defaults["Rooms"] = defaultPath + "room.json"
defaults["ScriptToExecute"] = ""
defaults["SSHPassword"] = ""
defaults["Rate"] = 0.0
defaults["BackendURL"] = "https://xplane-webrtc.akilan.io"
//Paths to search for config file
configPaths = append(configPaths, defaultPath)