Skip to content

Commit 0cf8a68

Browse files
authored
Merge pull request #5 from analogist/httpsfix
use https version of checkip service
2 parents 2f58ed8 + c6000d6 commit 0cf8a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
func checkIP() (string, error) {
16-
rsp, err := http.Get("http://checkip.amazonaws.com")
16+
rsp, err := http.Get("https://checkip.amazonaws.com")
1717
if err != nil {
1818
return "", err
1919
}

0 commit comments

Comments
 (0)