Browse Source

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

master
王良 2 days ago
parent
commit
5e4e8b8385
  1. 2
      packages/core/src/modules/plugin/git/index.js

2
packages/core/src/modules/plugin/git/index.js

@ -29,7 +29,7 @@ const Plugin = function (context) {
async setProxy (ip, port) {
const cmds = [
`git config --global http.proxy http://${ip}:${port} `,
`git config --global http.proxy http://${ip}:${port - 1} `,
`git config --global https.proxy http://${ip}:${port} `,
]

Loading…
Cancel
Save