This commit is contained in:
midoks
2023-09-15 13:28:19 +08:00
parent e9eab63e99
commit 0e5f762919
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ SOURCE_ROOT=$rootPath/source/lib
HTTP_PREFIX="https://"
cn=$(curl -fsSL -m 10 http://ipinfo.io/json | grep "\"country\": \"CN\"")
if [ ! -z "$cn" ] || [ "$?" != "0" ] ;then
if [ ! -z "$cn" ] || [ "$?" == "0" ] ;then
HTTP_PREFIX="https://ghproxy.com/"
fi