Quellcode durchsuchen

更换检测地址

Jrohy vor 5 Jahren
Ursprung
Commit
3e710ab65f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      go-install.sh

+ 1 - 1
go-install.sh

@@ -72,7 +72,7 @@ setupEnv(){
 }
 
 setupProxy(){
-    ipIsConnect "www.google.com"
+    ipIsConnect "golang.org"
     if [[ ! $? -eq 0 ]]; then
         [[ -z $(grep GO111MODULE ~/.bashrc) ]] && echo "export GO111MODULE=on" >> ~/.bashrc
         [[ -z $(go env|grep $PROXY_URL) ]] && go env -w GOPROXY=$PROXY_URL,direct