소스 검색

更换检测地址

Jrohy 5 년 전
부모
커밋
3e710ab65f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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