Skip to content

Commit

Permalink
[Ip] External IP now gathered through https (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
netsgnut authored and ManuelSchneid3r committed Oct 29, 2018
1 parent 0c612af commit 2c96e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def handleQuery(query):
if not query.isTriggered:
return None

with request.urlopen("http://ipecho.net/plain") as response:
with request.urlopen("https://ipecho.net/plain") as response:
externalIP = response.read().decode()

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
Expand Down

0 comments on commit 2c96e73

Please sign in to comment.