From 0dc5d63b94f1ec08d0e2de01d68321dc7dba6758 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 29 Jun 2023 13:31:56 +0800 Subject: [PATCH] fix --- routers/install/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/install/install.go b/routers/install/install.go index f121f313769d1..7313f70a57694 100644 --- a/routers/install/install.go +++ b/routers/install/install.go @@ -390,7 +390,7 @@ func SubmitInstall(ctx *context.Context) { cfg.Section("database").Key("LOG_SQL").SetValue("false") // LOG_SQL is rarely helpful cfg.Section("repository").Key("ROOT").SetValue(form.RepoRootPath) - cfg.Section("server").Key("SSH_DOMAIN").SetValue(form.Domain) + cfg.Section("server").Key("SSH_DOMAIN").MustString(form.Domain) cfg.Section("server").Key("DOMAIN").SetValue(form.Domain) cfg.Section("server").Key("HTTP_PORT").SetValue(form.HTTPPort) cfg.Section("server").Key("ROOT_URL").SetValue(form.AppURL)