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:
Alex Unger
2020-03-17 17:48:25 +01:00
committed by GitHub
parent 439cc7d4f5
commit c16003d47e
5 changed files with 51 additions and 46 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
},
"http": {
"addr": "0.0.0.0:9130",
"root": "/"
"root": "/",
"tls": true
},
"tracing": {
"enabled": false,