mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Provide a way to change the contextBpmRoot from the app.config file (#3144)
This commit is contained in:
committed by
Denys Vuika
parent
c7507c0c31
commit
9792f83c9b
@@ -2,6 +2,7 @@
|
|||||||
"$schema": "../../lib/core/app-config/schema.json",
|
"$schema": "../../lib/core/app-config/schema.json",
|
||||||
"ecmHost": "http://{hostname}:{port}",
|
"ecmHost": "http://{hostname}:{port}",
|
||||||
"bpmHost": "http://{hostname}:{port}",
|
"bpmHost": "http://{hostname}:{port}",
|
||||||
|
"contextRootBpm": "activiti-app",
|
||||||
"application": {
|
"application": {
|
||||||
"name": "Alfresco ADF Application"
|
"name": "Alfresco ADF Application"
|
||||||
},
|
},
|
||||||
|
@@ -95,7 +95,8 @@ export class AlfrescoApiService {
|
|||||||
ticketBpm: this.storage.getItem('ticket-BPM'),
|
ticketBpm: this.storage.getItem('ticket-BPM'),
|
||||||
hostEcm: this.appConfig.get<string>('ecmHost'),
|
hostEcm: this.appConfig.get<string>('ecmHost'),
|
||||||
hostBpm: this.appConfig.get<string>('bpmHost'),
|
hostBpm: this.appConfig.get<string>('bpmHost'),
|
||||||
contextRoot: 'alfresco',
|
contextRootBpm: this.appConfig.get<string>('contextRootBpm'),
|
||||||
|
contextRoot: this.appConfig.get<string>('contextRootEcm'),
|
||||||
disableCsrf: this.storage.getItem('DISABLE_CSRF') === 'true',
|
disableCsrf: this.storage.getItem('DISABLE_CSRF') === 'true',
|
||||||
oauth2: this.appConfig.get<any>('oauth2')
|
oauth2: this.appConfig.get<any>('oauth2')
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user