mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
apply new host parameters
This commit is contained in:
@@ -37,16 +37,16 @@ export class AlfrescoAuthenticationService {
|
||||
this.alfrescoApi = new AlfrescoApi({
|
||||
provider: this.alfrescoSetting.getProviders(),
|
||||
ticket: this.isLoggedIn() ? this.getTicket().split(',')[0] : null,
|
||||
host: this.alfrescoSetting.ecmHost,
|
||||
hostActiviti: this.alfrescoSetting.bpmHost
|
||||
hostEcm: this.alfrescoSetting.ecmHost,
|
||||
hostBpm: this.alfrescoSetting.bpmHost
|
||||
});
|
||||
|
||||
alfrescoSetting.bpmHostSubject.subscribe((value) => {
|
||||
this.alfrescoApi.config.hostActiviti = value;
|
||||
this.alfrescoApi.config.hostBpm = value;
|
||||
});
|
||||
|
||||
alfrescoSetting.ecmHostSubject.subscribe((value) => {
|
||||
this.alfrescoApi.config.host = value;
|
||||
this.alfrescoApi.config.hostEcm = value;
|
||||
});
|
||||
|
||||
alfrescoSetting.providerSubject.subscribe((value) => {
|
||||
|
Reference in New Issue
Block a user