1
0
Fork 0
forked from forgejo/forgejo

Merge branch 'rebase-forgejo-branding' into forgejo

This commit is contained in:
Earl Warren 2024-01-15 18:28:27 +00:00
commit 691e4f3253
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
132 changed files with 1321 additions and 333 deletions

View file

@ -286,7 +286,7 @@ func loadRepositoryFrom(rootCfg ConfigProvider) {
Repository.GoGetCloneURLProtocol = sec.Key("GO_GET_CLONE_URL_PROTOCOL").MustString("https")
Repository.MaxCreationLimit = sec.Key("MAX_CREATION_LIMIT").MustInt(-1)
Repository.DefaultBranch = sec.Key("DEFAULT_BRANCH").MustString(Repository.DefaultBranch)
RepoRootPath = sec.Key("ROOT").MustString(path.Join(AppDataPath, "gitea-repositories"))
RepoRootPath = sec.Key("ROOT").MustString(path.Join(AppDataPath, "forgejo-repositories"))
if !filepath.IsAbs(RepoRootPath) {
RepoRootPath = filepath.Join(AppWorkPath, RepoRootPath)
} else {