Skip to content

Commit

Permalink
bugfix: 修复 npm代理 功能的http代理地址端口号不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Nov 29, 2024
1 parent 51366cf commit ff311a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/modules/plugin/node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
]

Expand Down

0 comments on commit ff311a8

Please sign in to comment.