Move sync URL to ZOTERO_CONFIG array

This commit is contained in:
Dan Stillman 2008-06-17 20:41:31 +00:00
parent 35e9f3b3b7
commit 42fa6f091f
2 changed files with 3 additions and 2 deletions

View file

@ -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;

View file

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