Merge remote-tracking branch 'origin/angular-12' into angular-13
This commit is contained in:
commit
5c1811d0d1
|
@ -5,7 +5,7 @@ import {Session} from "../login/utils/helper.class";
|
|||
export class ConnectHelper {
|
||||
|
||||
public static getCommunityFromDomain(domain: string): string{
|
||||
if(properties.environment == "development") {
|
||||
if(properties.environment == "development" && (properties.adminToolsPortalType == "connect" || properties.adminToolsPortalType == "community")) {
|
||||
domain = "covid-19.openaire.eu"; //for testing
|
||||
}
|
||||
domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix
|
||||
|
|
Loading…
Reference in New Issue