From 42fa6f091f0af7777475055e8f62b8f82e1c22ee Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 17 Jun 2008 20:41:31 +0000 Subject: [PATCH] Move sync URL to ZOTERO_CONFIG array --- chrome/content/zotero/xpcom/sync.js | 2 +- chrome/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 index 5f157ac970..c4062d1df5 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 237dcdee9a..dde6888b2e 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/' }; /*