Skip to content

Commit

Permalink
Merge pull request #5 from analogist/httpsfix
Browse files Browse the repository at this point in the history
use https version of checkip service
  • Loading branch information
hugomd authored Aug 6, 2019
2 parents 2f58ed8 + c6000d6 commit 0cf8a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func checkIP() (string, error) {
rsp, err := http.Get("http://checkip.amazonaws.com")
rsp, err := http.Get("https://checkip.amazonaws.com")
if err != nil {
return "", err
}
Expand Down

0 comments on commit 0cf8a68

Please sign in to comment.