mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2961] support for protocol substition in app config files (#3324)
* support for protocol substition in app config files * Update app-config.service.spec.ts * Update app-config.service.spec.ts
This commit is contained in:
@@ -109,8 +109,8 @@ The `AppConfigService` also supports a limited set of variable substitutions to
|
||||
|
||||
```json
|
||||
{
|
||||
"ecmHost": "http://{hostname}:{port}/ecm",
|
||||
"bpmHost": "http://{hostname}:{port}/bpm",
|
||||
"ecmHost": "{protocol}//{hostname}:{port}/ecm",
|
||||
"bpmHost": "{protocol}//{hostname}:{port}/bpm",
|
||||
"application": {
|
||||
"name": "Alfresco"
|
||||
}
|
||||
@@ -121,6 +121,7 @@ The supported variables are:
|
||||
|
||||
| Variable name | Runtime value |
|
||||
| ------------- | ------------- |
|
||||
| protocol | `location.protocol` |
|
||||
| hostname | `location.hostname` |
|
||||
| port | `location.port` |
|
||||
|
||||
|
Reference in New Issue
Block a user