mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user