mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 22:56:07 +08:00
修改nmp CDN域名
This commit is contained in:
parent
0c169e3f6c
commit
405be73f09
|
@ -248,11 +248,11 @@ fix_config() {
|
||||||
npm_install_sub() {
|
npm_install_sub() {
|
||||||
set_proxy
|
set_proxy
|
||||||
if [ $is_termux -eq 1 ]; then
|
if [ $is_termux -eq 1 ]; then
|
||||||
npm install --production --no-bin-links --registry=https://registry.npm.taobao.org || npm install --production --no-bin-links
|
npm install --production --no-bin-links --registry=https://registry.npmmirror.com || npm install --production --no-bin-links
|
||||||
elif ! type pnpm &>/dev/null; then
|
elif ! type pnpm &>/dev/null; then
|
||||||
npm install --production --registry=https://registry.npm.taobao.org || npm install --production
|
npm install --production --registry=https://registry.npmmirror.com || npm install --production
|
||||||
else
|
else
|
||||||
pnpm install --loglevel error --production --registry=https://registry.npm.taobao.org || pnpm install --production --loglevel error
|
pnpm install --loglevel error --production --registry=https://registry.npmmirror.com || pnpm install --production --loglevel error
|
||||||
fi
|
fi
|
||||||
unset_proxy
|
unset_proxy
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user