Project

General

Profile

« Previous | Next » 

Revision 60220

[Connect|Trunk]
- connect subscriber: fix previous commit - revert reading community from domain

View differences:

connectHelper.ts
4 4
export class ConnectHelper {
5 5

  
6 6
  public static  getCommunityFromDomain(domain: string): string{
7
    domain = "beta.covid-19.openaire.eu"; //for testing
7
    // domain = "beta.covid-19.openaire.eu"; //for testing
8 8
    domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix
9 9
    if (domain.indexOf('openaire.eu') === -1) {
10 10
      return null;

Also available in: Unified diff