mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install_dev.sh
This commit is contained in:
@@ -61,7 +61,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
HTTP_PREFIX="https://"
|
HTTP_PREFIX="https://"
|
||||||
ping github.com -c 1
|
curl --insecure -fsSL -m 10 https://github.com
|
||||||
if [ "$?" != "0" ];then
|
if [ "$?" != "0" ];then
|
||||||
HTTP_PREFIX="https://ghproxy.com/"
|
HTTP_PREFIX="https://ghproxy.com/"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user