添加国内源

This commit is contained in:
bjdgyc
2021-07-27 12:56:26 +08:00
parent 2bdaf4a52e
commit d78deafc0c

View File

@@ -25,6 +25,8 @@ echo "编译二进制文件"
cd $cpath/server
rm -rf ui
cp -rf $cpath/web/ui .
#国内可替换源加快速度
export GOPROXY=https://goproxy.io
go build -v -o anylink -ldflags "-X main.CommitId=$(git rev-parse HEAD)"
RETVAL $?