mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-04 18:16:36 +08:00
修复安装时数据库环境没有指定的问题
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user