Skip to content
Snippets Groups Projects

Master

Merged Sigmund, Dominik requested to merge master into main
5 files
+ 309
882
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 21
3
@@ -23,10 +23,28 @@ It reads from the following sources, performing a deep merge:
Enviroment Variables can target deep nested settings:
The Setting _setting.deep.key_ can be reached with *SETTING_DEEP_KEY*
You may use the function _reload()_ to reload the config from all sources.
`config.reload()``
You may use the function __reload()_ to reload the config from all sources.
`config._reload()``
This makes *reload* a reserved keyword
This makes *_reload* a reserved keyword
You may use the function __show()_ to display the config without:
- password
- secret
- token
- key
- apiKey
- apiToken
- apiSecret
- user
- username
Values will be replaced with the value "redacted"
`config._show()``
This makes *_show* a reserved keyword
If you give a basePath, the config-Files are used from there.
Else the main dir of the application will be used.
Loading