Modified the conf loading process, now with onion in conf/conf.go
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user