xtunnel 1.5.9 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -69,10 +69,10 @@ function stop() {
|
|
69
69
|
|
70
70
|
function setSystemProxy(port) {
|
71
71
|
if (port) {
|
72
|
-
let command1 = `git config --global http.
|
72
|
+
let command1 = `git config --global http.proxy "http://127.0.0.1:${port}"`
|
73
73
|
child_process.exec(command1)
|
74
74
|
} else {
|
75
|
-
let command1 = `git config --global --unset http.
|
75
|
+
let command1 = `git config --global --unset http.proxy`
|
76
76
|
child_process.exec(command1)
|
77
77
|
}
|
78
78
|
}
|