Switch to services domain for recognizer requests

The recognizer endpoint can be customized by setting either
recognize.url (used directly) or services.url (used with a 'recognizer/'
suffix).
This commit is contained in:
Dan Stillman 2019-02-18 14:29:58 -05:00
parent 4a61cffc99
commit 0ea03ce72c
2 changed files with 22 additions and 15 deletions

View file

@ -11,7 +11,6 @@ var ZOTERO_CONFIG = {
PROXY_AUTH_URL: 'https://zoteroproxycheck.s3.amazonaws.com/test',
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,
CONNECTOR_MIN_VERSION: '5.0.39', // show upgrade prompt for requests from below this version