zotero/resource/config.js

36 lines
1.4 KiB
JavaScript
Raw Normal View History

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/',
2014-12-10 01:43:48 +00:00
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/',
RECOGNIZE_URL: 'https://recognize.zotero.org/',
SERVICES_URL: 'https://services.zotero.org/',
API_VERSION: 3,
2018-05-09 00:56:35 +00:00
CONNECTOR_MIN_VERSION: '5.0.39', // show upgrade prompt for requests from below this version
PREF_BRANCH: 'extensions.zotero.',
BOOKMARKLET_ORIGIN: 'https://www.zotero.org',
HTTP_BOOKMARKLET_ORIGIN: 'http://www.zotero.org',
BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/',
START_URL: "https://www.zotero.org/start",
QUICK_START_URL: "https://www.zotero.org/support/quick_start_guide",
PDF_TOOLS_URL: "https://www.zotero.org/download/xpdf/",
SUPPORT_URL: "https://www.zotero.org/support/",
TROUBLESHOOTING_URL: "https://www.zotero.org/support/getting_help",
FEEDBACK_URL: "https://forums.zotero.org/",
CONNECTORS_URL: "https://www.zotero.org/download/connectors"
};
if (typeof process === 'object' && process + '' === '[object process]'){
module.exports = ZOTERO_CONFIG;
} else {
EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"];
}