修复安装时数据库环境没有指定的问题

This commit is contained in:
刘祥超
2021-01-18 20:21:55 +08:00
parent 6c3a130afe
commit 6468605325

View File

@@ -83,6 +83,7 @@ func (this *InstallAction) RunPost(params struct {
Prefix: "edge",
}},
}
dbConfig.Default.DB = "prod"
dbConfigData, err := yaml.Marshal(dbConfig)
if err != nil {
this.Fail("生成数据库配置失败:" + err.Error())