From c4f7be63bc601ff4cd961bde19015d5fa76c6ec0 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 19 Nov 2020 09:15:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/index.js | 3 ++- packages/mitmproxy/test/dnsTest.mjs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index 6f374b5b..05a75223 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -35,7 +35,8 @@ module.exports = { '/.*': { proxy: 'github.com', backup: [ - 'gh.docmirror.top/_proxy' + 'gh.docmirror.top/_proxy', + 'gh2.docmirror.top/_proxy' ], desc: '备用主站加速地址' } diff --git a/packages/mitmproxy/test/dnsTest.mjs b/packages/mitmproxy/test/dnsTest.mjs index 5e577605..e3476771 100644 --- a/packages/mitmproxy/test/dnsTest.mjs +++ b/packages/mitmproxy/test/dnsTest.mjs @@ -28,3 +28,5 @@ const hostname3 = 'github.docmirror.cn' dnsProviders.usa.lookup(hostname3) const hostname4 = 'gh.docmirror.top' dnsProviders.usa.lookup(hostname4) +const hostname5 = 'gh2.docmirror.top' +dnsProviders.usa.lookup(hostname5)