Skip to content

Commit

Permalink
Fix #17
Browse files Browse the repository at this point in the history
  • Loading branch information
YLWS-4617 committed Oct 21, 2017
1 parent 307f270 commit 5a9e91f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion genclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def WriteClientJson():
openjsonfile.close()

#获取本机IP地址
myip = urllib2.urlopen('https://api.ipify.org').read()
myip = urllib2.urlopen('http://api.ipify.org').read()
myip = myip.strip()

#加载客户端配置模板
Expand Down
2 changes: 1 addition & 1 deletion serverinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import urllib2
import base64
#获取本机IP地址
myip = urllib2.urlopen('https://api.ipify.org').read()
myip = urllib2.urlopen('http://api.ipify.org').read()
myip = myip.strip()

#判断传输配置
Expand Down

0 comments on commit 5a9e91f

Please sign in to comment.