hardcoded default path incorrect

This commit is contained in:
farhansolodev
2023-04-03 06:17:19 +04:00
parent 53bef115b0
commit 86aaba23c4
2 changed files with 9 additions and 5 deletions

View File

@@ -72,7 +72,8 @@ func SetDefaults(envName string, forceDefault bool, CustomConfig interface{}, No
if len(ConfigUpdate) == 0 {
//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.DockerContainers = defaultPath + "server/docker/containers/"
Defaults.SpeedTestFile = defaultPath + "p2p/50.bin"

View File

@@ -4,10 +4,13 @@
"Name": "Node1",
"IPV4": "64.227.168.102",
"IPV6": "",
"Latency": 0,
"Latency": 145800903,
"Download": 0,
"Upload": 0,
"ServerPort": "8088",
"NAT": "False",
"EscapeImplementation": "None"
"NAT": "False",
"EscapeImplementation": "None",
"CustomInformation": null
}
]
}
}