From cf9af759b991aba28d23cfe432ee439619c510c2 Mon Sep 17 00:00:00 2001 From: "xiaojunnuo@qq.com" Date: Fri, 13 Nov 2020 09:10:58 +0800 Subject: [PATCH 1/3] =?UTF-8?q?refactor:=20push=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js b/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js index 4c2c293..36a8b26 100644 --- a/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js +++ b/packages/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js @@ -4,7 +4,6 @@ const commonUtil = require('../common/util') // const upgradeHeader = /(^|,)\s*upgrade\s*($|,)/i const DnsUtil = require('../../dns/index') -// create requestHandler function module.exports = function createRequestHandler (requestInterceptor, responseInterceptor, middlewares, externalProxy, dnsConfig) { // return return function requestHandler (req, res, ssl) { From da7c7fcfc32fd91adf3672c9ff13ef9e6de95ca3 Mon Sep 17 00:00:00 2001 From: "xiaojunnuo@qq.com" Date: Sat, 5 Dec 2020 13:56:48 +0800 Subject: [PATCH 2/3] refactor: 1 --- packages/core/src/config/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index ad5aab5..ffe17e7 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -149,6 +149,7 @@ module.exports = { } }, mapping: { + 'assets.fastgit.org': 'usa', '*github.io': 'usa', 'img.shields.io': 'usa', '*.github.com': 'usa', From 21d90813787d1d6c91d7c086f7b41707bb0a0bbb Mon Sep 17 00:00:00 2001 From: "xiaojunnuo@qq.com" Date: Mon, 7 Dec 2020 09:09:35 +0800 Subject: [PATCH 3/3] refactor: 1 --- packages/gui/src/bridge/update/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gui/src/bridge/update/backend.js b/packages/gui/src/bridge/update/backend.js index 0237b6d..90ff0c6 100644 --- a/packages/gui/src/bridge/update/backend.js +++ b/packages/gui/src/bridge/update/backend.js @@ -95,7 +95,7 @@ function updateHandle (app, win, beforeQuit, updateUrl, log) { export default { install (context) { const { app, win, beforeQuit, log } = context - let updateUrl = 'https://dev-sidecar.docmirror.cn/update/' + let updateUrl = 'http://dev-sidecar.docmirror.cn/update/' if (process.env.NODE_ENV === 'development') { Object.defineProperty(app, 'isPackaged', { get () {