|
@@ -44,6 +44,7 @@ func NewDbMaster() *xorm.Engine {
|
|
|
debug := GetEnvInfo("Debug")
|
|
|
configFilePrefix := "config"
|
|
|
configFileName := fmt.Sprintf("%s-pro.yaml", configFilePrefix)
|
|
|
+ fmt.Println(debug)
|
|
|
if debug {
|
|
|
configFileName = fmt.Sprintf("%s-debug.yaml", configFilePrefix)
|
|
|
}
|