[Library | Trunk]: Set domain for aggregator portal
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59935 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
9bbfddad8c
commit
39f5218fa1
|
@ -20,7 +20,13 @@ export class EnvironmentSpecificService {
|
||||||
if(properties.adminToolsCommunity == "connect") {
|
if(properties.adminToolsCommunity == "connect") {
|
||||||
if(properties.environment == "development"){
|
if(properties.environment == "development"){
|
||||||
properties.domain = "https://beta."+(ConnectHelper.getCommunityFromDomain(properties.domain)?ConnectHelper.getCommunityFromDomain(properties.domain):"connect")+".openaire.eu";
|
properties.domain = "https://beta."+(ConnectHelper.getCommunityFromDomain(properties.domain)?ConnectHelper.getCommunityFromDomain(properties.domain):"connect")+".openaire.eu";
|
||||||
}else{
|
} else{
|
||||||
|
properties.domain = "https://" + this.getDomain();
|
||||||
|
}
|
||||||
|
} else if(properties.adminToolsPortalType === 'aggregator') {
|
||||||
|
if(properties.environment == "development"){
|
||||||
|
properties.domain = "https://beta.canada.openaire.eu";
|
||||||
|
} else {
|
||||||
properties.domain = "https://" + this.getDomain();
|
properties.domain = "https://" + this.getDomain();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue