From f5d464c1efdff5396339b9b5ace0dc040161e60a Mon Sep 17 00:00:00 2001 From: sheng <8426540+sheng-guangxiang@user.noreply.gitee.com> Date: Fri, 22 Nov 2024 05:23:43 +0000 Subject: [PATCH] =?UTF-8?q?npm=E8=80=81=E6=BA=90=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E8=A7=A3=E6=9E=90=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=88=90=E6=96=B0=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sheng <8426540+sheng-guangxiang@user.noreply.gitee.com> --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 874b2fc..303d89f 100755 --- a/build.sh +++ b/build.sh @@ -206,7 +206,7 @@ function install_front { config_front echo_green "\n>>> $(gettext '开始安装前端依赖...')" cnpm_base_dir=$(dirname $(dirname $(which npm))) - npm install -g cnpm --registry=https://registry.npm.taobao.org --prefix ${cnpm_base_dir} + npm install -g cnpm --registry=http://npmmirror.com --prefix ${cnpm_base_dir} cd ferry_web && cnpm install && npm run build:prod && cp -r web ../build/template && cp -r web/static/* ../build/static/ } -- Gitee