Update to v8.16.0

This commit is contained in:
aapanel.com
2026-07-06 09:16:25 +08:00
parent 88012af9cf
commit c529749cf8
2034 changed files with 122712 additions and 38986 deletions
@@ -18,7 +18,7 @@ def clear_hosts():
import requests
requests.packages.urllib3.disable_warnings(requests.packages.urllib3.exceptions.InsecureRequestWarning)
url = 'https://wafapi2.aapanel.com/api/ip/info_json'
url = f'{public.OfficialWaf2Base()}/api/ip/info_json'
res = requests.post(url, verify=False)
if res.status_code == 404:
@@ -28,7 +28,7 @@ def clear_hosts():
if res != "[]":
remove = 1
except:
result = public.ExecShell("curl -sS --connect-timeout 3 -m 60 -k https://wafapi2.aapanel.com/api/ip/info_json")[0]
result = public.ExecShell(f"curl -sS --connect-timeout 3 -m 60 -k {public.OfficialWaf2Base()}/api/ip/info_json")[0]
if result != "[]":
remove = 1