Change getDomain to return test.openaire.eu in dev.
This commit is contained in:
parent
16d4df483f
commit
3b8cf248da
|
@ -8,7 +8,7 @@ export class ConnectHelper {
|
|||
if(properties.environment == "development" &&
|
||||
(properties.adminToolsPortalType == "connect" || properties.adminToolsPortalType == "community"
|
||||
|| properties.adminToolsPortalType == "aggregator" || properties.adminToolsPortalType == "eosc")) {
|
||||
domain = "canada.explore.openaire.eu"; //for testing
|
||||
domain = "test.openaire.eu"; //for testing
|
||||
}
|
||||
domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix
|
||||
if (domain.indexOf('eosc-portal.eu') != -1) {
|
||||
|
|
Loading…
Reference in New Issue