diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index 718dd618..7f00c284 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -161,6 +161,7 @@ module.exports = { } }, mapping: { + 'assets.fastgit.org': 'usa', '*yarnpkg.com': 'usa', '*cloudfront.net': 'usa', '*github.io': 'usa', diff --git a/packages/gui/src/bridge/update/backend.js b/packages/gui/src/bridge/update/backend.js index 0237b6d3..90ff0c67 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 () {