From a57f12b78e0ed6eaffd7d3a01a2eeb62da10678b Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sat, 27 Mar 2021 19:08:13 +0800 Subject: [PATCH] refactor: 1 --- README.md | 2 +- packages/mitmproxy/src/lib/proxy/tls/FakeServersCenter.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 77e0192..6a046ef 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ const intercepts = { 出现这个问题可能是没有开启系统代理命令的执行权限 请按照如下步骤确认和修复 ``` -networksetup -setwebproxy 'WiFi(你的网卡名称)' 127.0.0.1 1181 +networksetup -setwebproxy 'WiFi' 127.0.0.1 1181 #看是否有如下错误提示 ** Error: Command requires admin privileges. ``` diff --git a/packages/mitmproxy/src/lib/proxy/tls/FakeServersCenter.js b/packages/mitmproxy/src/lib/proxy/tls/FakeServersCenter.js index 7dbc449..2e899ab 100644 --- a/packages/mitmproxy/src/lib/proxy/tls/FakeServersCenter.js +++ b/packages/mitmproxy/src/lib/proxy/tls/FakeServersCenter.js @@ -29,7 +29,6 @@ module.exports = class FakeServersCenter { log.info(e) } } - log.info('add server promise:', serverPromiseObj) this.queue.push(serverPromiseObj) return serverPromiseObj }