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']))