From 014d2027e9f33c95084b20a3392b541bf866f065 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 31 Mar 2021 09:06:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E4=B8=8B=E8=BD=BD=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/index.js | 12 ++++++------ packages/gui/src/bridge/update/backend.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index a2bda36..3f34216 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -114,12 +114,12 @@ module.exports = { 'themes.googleusercontent.com': { '.*': { proxy: 'google-themes.proxy.ustclug.org' } }, - 'fonts.gstatic.com': { - '.*': { - proxy: 'gstatic.loli.net', - backup: ['fonts-gstatic.proxy.ustclug.org'] - } - }, + // 'fonts.gstatic.com': { + // '.*': { + // proxy: 'gstatic.loli.net', + // backup: ['fonts-gstatic.proxy.ustclug.org'] + // } + // }, 'clients*.google.com': { '.*': { abort: false, desc: '设置abort:true可以快速失败,节省时间' } }, 'www.googleapis.com': { '.*': { abort: false, desc: '设置abort:true可以快速失败,节省时间' } }, 'lh*.googleusercontent.com': { '.*': { abort: false, desc: '设置abort:true可以快速失败,节省时间' } }, diff --git a/packages/gui/src/bridge/update/backend.js b/packages/gui/src/bridge/update/backend.js index bd89c04..491f951 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 - const updateUrl = 'http://dev-sidecar.docmirror.cn/update/' + const updateUrl = 'https://dev-sidecar.oss-cn-shenzhen.aliyuncs.com/update/' if (process.env.NODE_ENV === 'development') { Object.defineProperty(app, 'isPackaged', { get () {