From 6d9f4cfa086635b76a67f8f2cb6a72743e2b1a86 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 15 Feb 2023 22:31:22 +0800 Subject: [PATCH] Update tools.py --- tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.py b/tools.py index 749acc6dc..cdad39623 100755 --- a/tools.py +++ b/tools.py @@ -198,7 +198,7 @@ def set_panel_username(username=None): def getServerIp(): version = sys.argv[2] ip = mw.execShell( - "curl -{} -sS --connect-timeout 5 -m 60 https://v6r.ipip.net/?format=text".format(version)) + "curl --insecure -{} -sS --connect-timeout 5 -m 60 https://v6r.ipip.net/?format=text".format(version)) print(ip[0])