conf: overhaul repository settings (#5932)

This commit is contained in:
ᴜɴᴋɴᴡᴏɴ
2020-02-22 15:22:32 +08:00
committed by GitHub
parent f59a68c531
commit c4a0a40473
23 changed files with 183 additions and 176 deletions

View File

@@ -199,13 +199,11 @@ func Config(c *context.Context) {
c.Data["App"] = conf.App
c.Data["Server"] = conf.Server
c.Data["SSH"] = conf.SSH
c.Data["Repository"] = conf.Repository
c.Data["LogRootPath"] = conf.LogRootPath
c.Data["ReverseProxyAuthUser"] = conf.ReverseProxyAuthUser
c.Data["RepoRootPath"] = conf.RepoRootPath
c.Data["ScriptType"] = conf.ScriptType
c.Data["Repository"] = conf.Repository
c.Data["HTTP"] = conf.HTTP
c.Data["DbCfg"] = db.DbCfg