From f4affb2c69049f7fef9aa7a59781e6457af4eb96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Tue, 9 Nov 2021 21:36:27 +0800 Subject: [PATCH] :sparkles: add go proxy --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 3e90a042a0d..ee82f028b4d 100644 --- a/build.sh +++ b/build.sh @@ -9,6 +9,8 @@ if [ "$1" == "web" ]; then exit 0 fi +go env -w GOPROXY=https://goproxy.cn,https://mirrors.aliyun.com/goproxy/,https://goproxy.io,direct + if [ "$1" == "docker" ]; then appName="alist" builtAt="$(date +'%F %T %z')"