hardcoded default path incorrect
This commit is contained in:
@@ -72,7 +72,8 @@ func SetDefaults(envName string, forceDefault bool, CustomConfig interface{}, No
|
|||||||
|
|
||||||
if len(ConfigUpdate) == 0 {
|
if len(ConfigUpdate) == 0 {
|
||||||
//Setting default paths for the config file
|
//Setting default paths for the config file
|
||||||
Defaults.IPTable = defaultPath + "p2p/iptable/ip_table.json"
|
Defaults.IPTable = defaultPath + "p2p/ip_table.json"
|
||||||
|
// Defaults.IPTable = defaultPath + "p2p/iptable/ip_table.json"
|
||||||
Defaults.DefaultDockerFile = defaultPath + "server/docker/containers/docker-ubuntu-sshd/"
|
Defaults.DefaultDockerFile = defaultPath + "server/docker/containers/docker-ubuntu-sshd/"
|
||||||
Defaults.DockerContainers = defaultPath + "server/docker/containers/"
|
Defaults.DockerContainers = defaultPath + "server/docker/containers/"
|
||||||
Defaults.SpeedTestFile = defaultPath + "p2p/50.bin"
|
Defaults.SpeedTestFile = defaultPath + "p2p/50.bin"
|
||||||
|
|||||||
@@ -4,10 +4,13 @@
|
|||||||
"Name": "Node1",
|
"Name": "Node1",
|
||||||
"IPV4": "64.227.168.102",
|
"IPV4": "64.227.168.102",
|
||||||
"IPV6": "",
|
"IPV6": "",
|
||||||
"Latency": 0,
|
"Latency": 145800903,
|
||||||
|
"Download": 0,
|
||||||
|
"Upload": 0,
|
||||||
"ServerPort": "8088",
|
"ServerPort": "8088",
|
||||||
"NAT": "False",
|
"NAT": "False",
|
||||||
"EscapeImplementation": "None"
|
"EscapeImplementation": "None",
|
||||||
|
"CustomInformation": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user