www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 42fa6f091f0af7777475055e8f62b8f82e1c22ee
parent 35e9f3b3b743c506f6a17b0449aa528b50e74c4f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 17 Jun 2008 20:41:31 +0000

Move sync URL to ZOTERO_CONFIG array



Diffstat:
Mchrome/content/zotero/xpcom/sync.js | 2+-
Mchrome/content/zotero/xpcom/zotero.js | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git 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 @@ -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/' }; /*