Merge pull request #6965 from fschade/fix-policy-mime-help

fix: fix readme and changelog env var
This commit is contained in:
Michael Barz
2023-08-04 13:40:19 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -3,6 +3,6 @@ Enhancement: Extendable policy mimetype extension mapping
The extension mimetype mappings known from rego can now be extended.
To do this, ocis must be informed where the mimetype file (apache mime.types file format) is located.
`export OCIS_MACHINE_AUTH_API_KEY=$OCIS_HOME/mime.types`
`export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types`
https://github.com/owncloud/ocis/pull/6869
+1 -1
View File
@@ -131,7 +131,7 @@ Note that existing mappings from the host are extended by the definitions from t
The path to that file can be provided via a yaml configuration or an environment variable. Note to replace the `OCIS_CONFIG_DIR` string by an existing path.
```shell
export OCIS_MACHINE_AUTH_API_KEY=OCIS_CONFIG_DIR/mime.types
export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types
```
```yaml