aboutsummaryrefslogtreecommitdiff
path: root/internal/route/install.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-22 15:22:32 +0800
committerGitHub <noreply@github.com>2020-02-22 15:22:32 +0800
commitc4a0a404735cdcfdcb805e9fed474c75110bca89 (patch)
treed4ef0af7722425451f23b6ca06ef90a375a5f6bc /internal/route/install.go
parentf59a68c531c680d4488d8d977798f6aa36551bfa (diff)
conf: overhaul repository settings (#5932)
Diffstat (limited to 'internal/route/install.go')
-rw-r--r--internal/route/install.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/install.go b/internal/route/install.go
index 0747ebf0..fdc7b18b 100644
--- a/internal/route/install.go
+++ b/internal/route/install.go
@@ -155,7 +155,7 @@ func Install(c *context.Context) {
// Application general settings
f.AppName = conf.App.BrandName
- f.RepoRootPath = conf.RepoRootPath
+ f.RepoRootPath = conf.Repository.Root
// Note(unknwon): it's hard for Windows users change a running user,
// so just use current one if config says default.