Modified the conf loading process, now with onion in conf/conf.go

This commit is contained in:
pb
2023-10-31 11:23:39 +01:00
parent 1806624e76
commit 17f0998ffb
5 changed files with 78 additions and 41 deletions

View File

@@ -13,6 +13,7 @@ func Init() {
var DBpoint string
var err error
DBpoint = os.Getenv("DOCKER_DBPOINT")
if len(DBpoint) == 0 {
DBpoint, err = beego.AppConfig.String("DBPOINT")