Browse Source

Update ztncui.sh

change npm repo
nili 1 year ago
parent
commit
87305d5cda
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ztncui.sh

+ 2 - 1
ztncui.sh

@@ -7,7 +7,8 @@ apt install -y nodejs --no-install-recommends
 rm -f node_inst.sh
 git clone https://github.com/kmahyyg/ztncui-aio.git tmp
 mv tmp/* /build
-npm config set registry http://registry.npm.taobao.org
+npm config set registry https://registry.npmmirror.com
+#npm config set registry http://registry.npm.taobao.org
 sed -i "s|git clone https://github.com/key-networks/ztncui||g" build-ztncui.sh
 
 sed -i "s|Debugging: Print EnvVar:|Debugging: 输出环境变量:|g" start_firsttime_init.sh

粤ICP备19079148号