bugfix: 修复 npm代理 功能的http代理地址端口号不正确的问题

pull/408/head
王良 2024-11-29 21:40:42 +08:00
parent 51366cf2c8
commit ff311a854b
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ const NodePlugin = function (context) {
const command = config.get().plugin.node.setting.command || 'npm' const command = config.get().plugin.node.setting.command || 'npm'
const cmds = [ const cmds = [
`${command} config set proxy=http://${ip}:${port}`, `${command} config set proxy=http://${ip}:${port - 1}`,
`${command} config set https-proxy=http://${ip}:${port}`, `${command} config set https-proxy=http://${ip}:${port}`,
] ]