[Connect|Trunk]
Connect Helper: read community from domain for production Add extra properties file for real production environment (environment.prop.prod.ts) Add new piwik ids git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59121 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
ed9b39dfb6
commit
150efc1cfb
|
@ -13,9 +13,7 @@ export class ConnectHelper {
|
|||
} else if (domain.indexOf('test.') !== -1) {
|
||||
return null;
|
||||
} else {
|
||||
//for production: ignore communities
|
||||
// domain = domain.substr(0, domain.indexOf('.'));
|
||||
return null;
|
||||
domain = domain.substr(0, domain.indexOf('.'));
|
||||
}
|
||||
if (domain === 'connect' || domain === 'explore' || domain === 'monitor' || domain === 'admin'){
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue