Browse Source

fix:config

zqbao 9 tháng trước cách đây
mục cha
commit
d67a110845
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)