Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xbbdjj committed Feb 16, 2020
1 parent dc2e16a commit 8a74e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ip/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func Start() {
}
for _, ip := range peers {

key := config.Conf.IPDataKey
key := config.NewConfig().IPDataKey
url := fmt.Sprintf("https://api.ipdata.co/%s?api-key=%s", ip, key)
resp, err := http.Get(url)
if err != nil {
Expand Down

0 comments on commit 8a74e57

Please sign in to comment.