解决pip install 报错的问题

pull/192/head
xiaojunnuo 2022-03-07 11:36:19 +08:00
parent ef85ad5409
commit 2f0ae85baa
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ async function _winSetProxy (exec, ip, port, setEnv) {
}
// http=127.0.0.1:8888;https=127.0.0.1:8888 考虑这种方式
const proxyPath = extraPath.getProxyExePath()
await execFile(proxyPath, ['global', `http=${ip}:${port};https=${ip}:${port}`, lanIpStr])
await execFile(proxyPath, ['global', `http=http://${ip}:${port};https=http://${ip}:${port}`, lanIpStr])
if (setEnv) {
log.info('同时设置 https_proxy')