conf fixes

This commit is contained in:
ycc
2023-10-18 11:08:10 +02:00
parent acd9b1611c
commit 3a076bbf78
4 changed files with 7 additions and 6 deletions

View File

@@ -45,6 +45,7 @@ func main() {
models.GetConfig().ZincUrl = o.GetStringDefault("zincurl", "http://localhost:4080")
models.GetConfig().ZincLogin = o.GetStringDefault("zinclogin", "admin")
models.GetConfig().ZincPassword = o.GetStringDefault("zincpassword", "admin")
models.GetConfig().IdentityFile = o.GetStringDefault("identityfile", "./identity.json")
models.GetConfig().Defaultpeers = o.GetStringDefault("defaultpeers", "./peers.json")
// Normal beego init