mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2214] Sharing URL being constructed from ECM Host incorrectly (#981)
* fix baseShareUrl defaults * allow controlling full path * unit test * update tomcat settings * use single slash * simplify documentation
This commit is contained in:
@@ -49,32 +49,12 @@ Alternatively, you can provide a static address for the ACS server if necessary:
|
||||
|
||||
The "baseShareUrl" property tells the application how to construct the address where users will access shared files.
|
||||
|
||||
#### Default
|
||||
|
||||
When the default value is set the application will construct the File Share URL from the "ecmHost" property:
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"baseShareUrl": null,
|
||||
...
|
||||
"baseShareUrl": "{protocol}//{hostname}{:port}/#/preview/s"
|
||||
}
|
||||
```
|
||||
|
||||
#### Configuration
|
||||
|
||||
If you run the application from a different server than the Content Services server the "baseShareUrl" property should must be configured correctly, for example:
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"baseShareUrl": "http://{serveraddress}{:port}",
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
**Note:** If you run the application as part of Tomcat and not in the root (subfolder), then "baseShareUrl" value should contain full address to the app, for example: "baseShareUrl": "http://{serveraddress}{:port}/{folder}".
|
||||
|
||||
## Application settings
|
||||
|
||||
There are many settings you can change to alter the default behavior of the application.
|
||||
@@ -104,7 +84,6 @@ The default logo displayed in the top left corner of the Alfresco Content Applic
|
||||
|
||||
2. In the app.config.json file, set the value of the application.logo to contain the name of the custom logo image: "logo": "/assets/images/[image-name].[extension]"
|
||||
|
||||
|
||||
```json
|
||||
{
|
||||
...,
|
||||
|
Reference in New Issue
Block a user