fix the production cache url
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@50021 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
a4c4102bf0
commit
4acc78f007
|
@ -395,9 +395,9 @@ export class OpenaireProperties {
|
||||||
}
|
}
|
||||||
public static getCacheUrl():string{
|
public static getCacheUrl():string{
|
||||||
if(this.productionMode){
|
if(this.productionMode){
|
||||||
return this.cache;
|
|
||||||
}else{
|
|
||||||
return this.cache_pm;
|
return this.cache_pm;
|
||||||
|
}else{
|
||||||
|
return this.cache;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static isCacheEnabled():boolean{
|
public static isCacheEnabled():boolean{
|
||||||
|
|
Loading…
Reference in New Issue