diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index 5f157ac97..c4062d1df 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -460,7 +460,7 @@ Zotero.Sync.Server = new function () { var _loginManagerHost = 'chrome://zotero'; var _loginManagerURL = 'Zotero Sync Server'; - var _serverURL = "https://sync.zotero.org/"; + var _serverURL = ZOTERO_CONFIG.SYNC_URL; var _maxAttempts = 3; var _attempts = _maxAttempts; diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 237dcdee9..dde6888b2 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -25,7 +25,8 @@ const ZOTERO_CONFIG = { DB_REBUILD: false, // erase DB and recreate from schema REPOSITORY_URL: 'http://www.zotero.org/repo', REPOSITORY_CHECK_INTERVAL: 86400, // 24 hours - REPOSITORY_RETRY_INTERVAL: 3600 // 1 hour + REPOSITORY_RETRY_INTERVAL: 3600, // 1 hour + SYNC_URL: 'http://sync.zotero.org/' }; /*