Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
淘宝老的 http://registry.npm.taobao.org 域名已停止服务,切换到https://registry.npmmirror.com
  • Loading branch information
mdh67899 authored Jan 3, 2025
1 parent 215e851 commit d0c49b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=https://registry.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/

}
Expand Down

0 comments on commit d0c49b1

Please sign in to comment.