Change getDomain to return test.openaire.eu in dev.

This commit is contained in:
Konstantinos Triantafyllou 2022-11-29 14:46:32 +02:00
parent 16d4df483f
commit 3b8cf248da
1 changed files with 1 additions and 1 deletions

View File

@ -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) {