Skip to content

Commit 7d7af46

Browse files
authored
更新golang 代理
1 parent de1c6a7 commit 7d7af46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ cd ${SERVER_PROJECT_HOME} || exit 1
4545
projectpath=`pwd`
4646
echo "current dir:${projectpath}"
4747

48-
# 设置阿里云代理
49-
export GOPROXY="https://mirrors.aliyun.com/goproxy/"
50-
#export GOPROXY="goproxy.cn"
48+
# 设置代理
49+
#export GOPROXY="https://mirrors.aliyun.com/goproxy/"
50+
export GOPROXY="goproxy.cn"
5151
echo "GOPROXY:"${GOPROXY}
5252

5353
moduleName=$(go list -m)
@@ -92,4 +92,4 @@ tar -zcvf ${zip_name} server/
9292

9393
echo "$zip_name finish."
9494

95-
exit 0
95+
exit 0

0 commit comments

Comments
 (0)