Updated the domain used to fetch IPv4 from cloudflare.

This commit is contained in:
Timothy Miller 2022-07-31 15:55:59 -04:00
parent f0357c71c1
commit ceeb011366

View File

@ -59,7 +59,7 @@ def getIPs():
if ipv4_enabled: if ipv4_enabled:
try: try:
a = requests.get( 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.pop()
a = dict(s.split("=") for s in a)["ip"] a = dict(s.split("=") for s in a)["ip"]
except Exception: except Exception: