Browse Source

fix:config

zqbao 9 months ago
parent
commit
d67a110845
1 changed files with 1 additions and 0 deletions
  1. 1 0
      utils/config.go

+ 1 - 0
utils/config.go

@@ -63,6 +63,7 @@ func init() {
 	RunMode = tmpRunMode
 	fmt.Println("RunMode:", RunMode)
 	if RunMode == "" {
+		RunMode = "debug"
 		configPath := `/home/code/config/eta_mini_api/conf/app.conf`
 		fmt.Println("configPath:", configPath)
 		err = web.LoadAppConfig("ini", configPath)