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