core: 修复纯 ipv6 下无法检测地区

This commit is contained in:
bin456789
2025-03-27 12:02:44 +08:00
parent 12a3ccb2ea
commit 4e48ee7964
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ if not exist %tmp% (
rem 检查是否国内
if not exist geoip (
rem www.cloudflare.com/dash.cloudflare.com 国内访问的是美国服务器,而且部分地区被墙
call :download http://www.visa.cn/cdn-cgi/trace %~dp0geoip || goto :download_failed
call :download http://www.qualcomm.cn/cdn-cgi/trace %~dp0geoip || goto :download_failed
)
findstr /c:"loc=CN" geoip >nul
if not errorlevel 1 (