bugfix: 修复 npm代理 功能的http代理地址端口号不正确的问题
parent
51366cf2c8
commit
ff311a854b
|
@ -125,7 +125,7 @@ const NodePlugin = function (context) {
|
|||
const command = config.get().plugin.node.setting.command || 'npm'
|
||||
|
||||
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}`,
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue