add changelog, fix typo

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-07-09 11:17:53 +02:00
parent b75cfbf39e
commit 5bd582484e
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
Enhancement: make frontend prefixes configurable
We introduce three new environment variables and preconfigure them the following way:
```
REVA_FRONTEND_DATAGATEWAY_PREFIX="data"
REVA_FRONTEND_OCDAV_PREFIX=""
REVA_FRONTEND_OCS_PREFIX="ocs"
```
This restores the reva defaults that were changed upstream.
https://github.com/owncloud/ocis-reva/pull/363
https://github.com/cs3org/reva/pull/936/files#diff-51bf4fb310f7362f5c4306581132fc3bR63

View File

@@ -166,7 +166,7 @@ func FrontendWithConfig(cfg *config.Config) []cli.Flag {
Value: "ocs",
Usage: "open collaboration services endpoint prefix",
EnvVars: []string{"REVA_FRONTEND_OCS_PREFIX"},
Destination: &cfg.Reva.Frontend.OCDavPrefix,
Destination: &cfg.Reva.Frontend.OCSPrefix,
},
// Gateway