Hard coded path for the web activiti API

This commit is contained in:
mauriziovitale84
2016-07-29 14:43:13 +01:00
parent 186032afb4
commit e35b048022

View File

@@ -75,7 +75,7 @@ export class AlfrescoAuthenticationBPM extends AlfrescoAuthenticationBase implem
}
private apiActivitiLogin(username: string, password: string) {
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/authentication';
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/app/authentication';
let headers = new Headers({
'Content-Type': 'application/x-www-form-urlencoded'
});
@@ -91,7 +91,7 @@ export class AlfrescoAuthenticationBPM extends AlfrescoAuthenticationBase implem
}
private apiActivitiLogout() {
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/logout';
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + '/app/logout';
return this.http.get(url).toPromise();
}