Updated the domain used to fetch IPv4 from cloudflare.
This commit is contained in:
parent
f0357c71c1
commit
ceeb011366
@ -59,7 +59,7 @@ def getIPs():
|
||||
if ipv4_enabled:
|
||||
try:
|
||||
a = requests.get(
|
||||
"https://cloudflare.com/cdn-cgi/trace").text.split("\n")
|
||||
"https://1.1.1.1/cdn-cgi/trace").text.split("\n")
|
||||
a.pop()
|
||||
a = dict(s.split("=") for s in a)["ip"]
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user