From: Michal Klobukowski Date: Fri, 30 Nov 2018 11:40:25 +0000 (+0100) Subject: Set temporary default for VOCABULARY_URL - it has to be removed in the future X-Git-Tag: 1.3.0^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/bb4f491da85b1e953941209e4bc422c707504ee3 Set temporary default for VOCABULARY_URL - it has to be removed in the future Feature #14554 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- diff --git a/src/common/config.ts b/src/common/config.ts index c74277e4..b7b89bd9 100644 --- a/src/common/config.ts +++ b/src/common/config.ts @@ -60,7 +60,8 @@ export const fetchConfig = () => { .then(config => Axios .get(getDiscoveryURL(config.API_HOST)) .then(response => ({ - config: {...response.data, vocabularyUrl: config.VOCABULARY_URL }, + // TODO: After tests delete `|| '/vocabulary-example.json'` + config: {...response.data, vocabularyUrl: config.VOCABULARY_URL || '/vocabulary-example.json' }, apiHost: config.API_HOST, })));