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

pull/403/head
王良 2024-11-20 15:30:20 +08:00
parent 952e21feb8
commit 5e4e8b8385
1 changed files with 1 additions and 1 deletions

View File

@ -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} `,
]