Skip to content

Commit

Permalink
fix ipAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
honwen committed Jun 19, 2019
1 parent 80e784c commit 17cdf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const regxIP = `(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\
const regxIP6 = `([0-9A-Fa-f]{0,4}:){2,7}([0-9A-Fa-f]{1,4}$|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|$)){4})`

var ipAPI = []string{
"http://www.taobao.com/help/getip.php", "http://ddns.oray.com/checkip", "http://haoip.cn",
"http://www.net.cn/static/customercare/yourip.asp", "http://ddns.oray.com/checkip", "http://haoip.cn",
"http://cnc.synology.cn:81", "http://jpc.synology.com:81", "http://usc.synology.com:81",
"http://ip.6655.com/ip.aspx", "http://pv.sohu.com/cityjson?ie=utf-8", "http://whois.pconline.com.cn/ipJson.jsp",
}
Expand Down

0 comments on commit 17cdf0c

Please sign in to comment.