From 39a2549681c127112a67a327ef0d4cdebaedc03a Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Wed, 8 Feb 2023 11:31:47 +0200 Subject: [PATCH] change path of vocabulary fos/sdgs --- utils/staticAutoComplete/ISVocabularies.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/staticAutoComplete/ISVocabularies.service.ts b/utils/staticAutoComplete/ISVocabularies.service.ts index 8df594e5..295ba7d6 100644 --- a/utils/staticAutoComplete/ISVocabularies.service.ts +++ b/utils/staticAutoComplete/ISVocabularies.service.ts @@ -107,14 +107,14 @@ export class ISVocabulariesService { getLocalVocabularyFromService(vocabularyName: string, properties: EnvProperties): Observable { if(vocabularyName == "sdg"){ - let url = properties.domain+"/assets/vocabulary/sdg.json"; + let url = properties.domain+"/assets/common-assets/vocabulary/sdg.json"; return this.http.get((properties.useLongCache) ? (properties.cacheUrl + encodeURIComponent(url)) : url) //.map(res => res.json()) .pipe(map(res => res['sdg'])) .pipe(map(res => this.parseSDGs(res))) .pipe(catchError(this.handleError)); }else if( vocabularyName == "fos"){ - let url = properties.domain+"/assets/vocabulary/fos.json"; + let url = properties.domain+"/assets/common-assets/vocabulary/fos.json"; return this.http.get((properties.useLongCache) ? (properties.cacheUrl + encodeURIComponent(url)) : url) //.map(res => res.json()) .pipe(map(res => res['fos']))