We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7762f0e commit 8ca08d0Copy full SHA for 8ca08d0
utils/config/loader.go
@@ -26,9 +26,9 @@ type ENV_ struct {
26
}
27
28
type SETTING_ struct {
29
- BLOCKED_ENDPOINTS []string
30
- VARIABLES map[string]any
31
- MESSAGE_ALIASES []middlewareTypes.MessageAlias
+ BLOCKED_ENDPOINTS []string `koanf:"blockedendpoints"`
+ VARIABLES map[string]any `koanf:"variables"`
+ MESSAGE_ALIASES []middlewareTypes.MessageAlias `koanf:"messagealiases"`
32
33
34
var ENV *ENV_ = &ENV_{
0 commit comments