Move sync URL to ZOTERO_CONFIG array
This commit is contained in:
parent
35e9f3b3b7
commit
42fa6f091f
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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/'
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue