Browse Source

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	packages/core/src/config/index.js
pull/67/head
xiaojunnuo 4 years ago
parent
commit
31a8ec5dd5
  1. 1
      packages/core/src/config/index.js
  2. 2
      packages/gui/src/bridge/update/backend.js

1
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',

2
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 () {

Loading…
Cancel
Save