From dc513e1efa63af062acd8df7498f7d01d3181552 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 22 May 2024 14:11:54 +0200 Subject: [PATCH] updated modules --- states/_modules/net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/_modules/net.py b/states/_modules/net.py index 9806bc7..b7a709d 100644 --- a/states/_modules/net.py +++ b/states/_modules/net.py @@ -15,7 +15,7 @@ POSTFIX_FORMAT = lambda ip: "[{}]/{}".format(CIDR_REGEX.findall(ip)[0][0], def __virtual__(): return True -def get_public_ip(url="https://ip.paulbsd.com"): +def get_public_ip(url="https://api.ipapi.is/"): req = Request(url=url) req.add_header("Accept", "*/*")