Load config from Viper on Before hook (#51)
* abstract ParseConfig to its own scope * remove hardcoded values * parse config from root if present * update example.json * fix linter * code style
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@
|
||||
},
|
||||
"http": {
|
||||
"addr": "0.0.0.0:9130",
|
||||
"root": "/"
|
||||
"root": "/",
|
||||
"tls": true
|
||||
},
|
||||
"tracing": {
|
||||
"enabled": false,
|
||||
|
||||
Reference in New Issue
Block a user