diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-27 15:34:34 +0800 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-12-27 12:00:18 +0100 |
commit | 7802699f528c87845d09dee4fce559138c3e38d5 (patch) | |
tree | 3d12c15c7316f7d14d8fa433ee4b8df24ca4546d /routers/install.go | |
parent | ba134bd27abe099efcd748773c410b3aa78521fc (diff) | |
download | gitea-7802699f528c87845d09dee4fce559138c3e38d5.tar.gz gitea-7802699f528c87845d09dee4fce559138c3e38d5.zip |
fix installation page ssh domain unavilable
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/install.go b/routers/install.go index 08687612dd..113fd1592e 100644 --- a/routers/install.go +++ b/routers/install.go @@ -40,7 +40,7 @@ func InstallInit(ctx *context.Context) { ctx.Data["Title"] = ctx.Tr("install.install") ctx.Data["PageIsInstall"] = true - dbOpts := []string{"MySQL", "PostgreSQL","MSSQL"} + dbOpts := []string{"MySQL", "PostgreSQL", "MSSQL"} if models.EnableSQLite3 { dbOpts = append(dbOpts, "SQLite3") } @@ -254,7 +254,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) { cfg.Section("").Key("APP_NAME").SetValue(form.AppName) cfg.Section("repository").Key("ROOT").SetValue(form.RepoRootPath) cfg.Section("").Key("RUN_USER").SetValue(form.RunUser) - cfg.Section("server").Key("DOMAIN").SetValue(form.Domain) + cfg.Section("server").Key("SSH_DOMAIN").SetValue(form.Domain) cfg.Section("server").Key("HTTP_PORT").SetValue(form.HTTPPort) cfg.Section("server").Key("ROOT_URL").SetValue(form.AppURL) |