zotero/resource/config.js
Dan Stillman 2beb2c514c Push-based sync triggering
Immediate sync triggering on remote library change using WebSocket API.
Currently kicks off a normal sync process for the modified library --
actual object data isn't pushed.

(This might not stay enabled for 5.0 Final.)
2016-12-29 21:50:32 -05:00

22 lines
819 B
JavaScript

var ZOTERO_CONFIG = {
GUID: 'zotero@chnm.gmu.edu',
ID: 'zotero', // used for db filename, etc.
CLIENT_NAME: 'Zotero',
DOMAIN_NAME: 'zotero.org',
REPOSITORY_URL: 'https://repo.zotero.org/repo/',
REPOSITORY_CHECK_INTERVAL: 86400, // 24 hours
REPOSITORY_RETRY_INTERVAL: 3600, // 1 hour
BASE_URI: 'http://zotero.org/',
WWW_BASE_URL: 'https://www.zotero.org/',
PROXY_AUTH_URL: 'https://s3.amazonaws.com/zotero.org/proxy-auth',
API_URL: 'https://api.zotero.org/',
STREAMING_URL: 'wss://stream.zotero.org/',
API_VERSION: 3,
PREF_BRANCH: 'extensions.zotero.',
BOOKMARKLET_ORIGIN: 'https://www.zotero.org',
HTTP_BOOKMARKLET_ORIGIN: 'http://www.zotero.org',
BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/',
PDF_TOOLS_URL: "https://www.zotero.org/download/xpdf/"
};
EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"];