Browse Source

更换检测地址

Jrohy 5 years ago
parent
commit
3e710ab65f
1 changed files with 1 additions and 1 deletions
  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