Skip to content

Commit 7802699

Browse files
lunnybkcsoft
authored andcommitted
fix installation page ssh domain unavilable
1 parent ba134bd commit 7802699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/install.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func InstallInit(ctx *context.Context) {
4040
ctx.Data["Title"] = ctx.Tr("install.install")
4141
ctx.Data["PageIsInstall"] = true
4242

43-
dbOpts := []string{"MySQL", "PostgreSQL","MSSQL"}
43+
dbOpts := []string{"MySQL", "PostgreSQL", "MSSQL"}
4444
if models.EnableSQLite3 {
4545
dbOpts = append(dbOpts, "SQLite3")
4646
}
@@ -254,7 +254,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) {
254254
cfg.Section("").Key("APP_NAME").SetValue(form.AppName)
255255
cfg.Section("repository").Key("ROOT").SetValue(form.RepoRootPath)
256256
cfg.Section("").Key("RUN_USER").SetValue(form.RunUser)
257-
cfg.Section("server").Key("DOMAIN").SetValue(form.Domain)
257+
cfg.Section("server").Key("SSH_DOMAIN").SetValue(form.Domain)
258258
cfg.Section("server").Key("HTTP_PORT").SetValue(form.HTTPPort)
259259
cfg.Section("server").Key("ROOT_URL").SetValue(form.AppURL)
260260

0 commit comments

Comments
 (0)