fixed bug ports and listservers

This commit is contained in:
2021-04-13 20:50:02 +04:00
parent 701e72a2b4
commit b682f9d53d
6 changed files with 48 additions and 45 deletions

Binary file not shown.

View File

@@ -1,7 +1,10 @@
{
"ip_address": [
{
"ipv4": "145.40.90.151"
"ipv4": "145.40.90.151",
"latency": 271458528,
"download": 738.0909641092161,
"upload": 1715.925379038264
}
]
}

View File

@@ -65,7 +65,7 @@ func (i *IpAddresses) WriteIpTable() error {
return err
}
err = ioutil.WriteFile(config.SpeedTestFile, file, 0644)
err = ioutil.WriteFile(config.IPTable, file, 0644)
if err != nil {
return err
}