summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-04-21 10:43:29 +0800
committerGitHub <noreply@github.com>2017-04-21 10:43:29 +0800
commitf0db3da713eb9440923ddf376349e72b65f129ef (patch)
treefed96b5b8c2dbd95ec5ee3dd104a77b5ca78e42f /routers/install.go
parent42072783c910b6f4119bb410f0e9dd55ebfc0927 (diff)
downloadgitea-f0db3da713eb9440923ddf376349e72b65f129ef.tar.gz
gitea-f0db3da713eb9440923ddf376349e72b65f129ef.zip
fix go get sub package and add domain on installation to let go get work defaultly (#1518)
* fix go get sub package and add domain on installation to let go get work defaultly * fix import sequence * fix .git problem
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go
index b4df536d0c..1ab409d00d 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -257,6 +257,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) {
cfg.Section("repository").Key("ROOT").SetValue(form.RepoRootPath)
cfg.Section("").Key("RUN_USER").SetValue(form.RunUser)
cfg.Section("server").Key("SSH_DOMAIN").SetValue(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)