Modified path to json

This commit is contained in:
Alberto Soutullo 2024-01-19 11:21:31 +01:00
parent 8b7933869c
commit 997b13ae3c
No known key found for this signature in database
GPG Key ID: A7CAC0D8343B0387
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func resolveAddress(addr string) (net.IP, error) {
}
func readIDsFile() map[string]interface{} {
fileContent, err := os.ReadFile("ids.json")
fileContent, err := os.ReadFile("/node/ids.json")
if err != nil {
fmt.Println("Error reading the JSON file:", err)
return nil