X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f880dbab588eff4a3623011e3f1bd4407eda4cca..f9dafeec8d45f0cb19d71326b7fa877891a7eb9e:/src/common/config.ts diff --git a/src/common/config.ts b/src/common/config.ts index c74277e42c..b7b89bd9e4 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, })));