[Library | Trunk]: Revert connect helper
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60188 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
a1cf4bcd15
commit
946ed38d5d
|
@ -4,7 +4,7 @@ import {properties} from "../../../environments/environment";
|
|||
export class ConnectHelper {
|
||||
|
||||
public static getCommunityFromDomain(domain: string): string{
|
||||
domain = "beta.covid-19.openaire.eu"; //for testing
|
||||
//domain = "beta.covid-19.openaire.eu"; //for testing
|
||||
domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix
|
||||
if (domain.indexOf('openaire.eu') === -1) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue