[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:
k.triantafyllou 2020-11-23 12:27:42 +00:00
parent 9bbfddad8c
commit 39f5218fa1
1 changed files with 7 additions and 1 deletions

View File

@ -20,7 +20,13 @@ export class EnvironmentSpecificService {
if(properties.adminToolsCommunity == "connect") {
if(properties.environment == "development"){
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();
}
}