forked from forgejo/forgejo
Replace Gogs to Gitea in installation options
This commit is contained in:
parent
f430d26f7e
commit
28bee28102
5 changed files with 415 additions and 415 deletions
|
@ -493,7 +493,7 @@ func NewContext() {
|
|||
// Determine and create root git repository path.
|
||||
sec = Cfg.Section("repository")
|
||||
Repository.DisableHTTPGit = sec.Key("DISABLE_HTTP_GIT").MustBool()
|
||||
RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gogs-repositories"))
|
||||
RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gitea-repositories"))
|
||||
forcePathSeparator(RepoRootPath)
|
||||
if !filepath.IsAbs(RepoRootPath) {
|
||||
RepoRootPath = path.Join(workDir, RepoRootPath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue