1
0
Fork 0
forked from forgejo/forgejo

Merge branch 'rebase-forgejo-branding' into forgejo

This commit is contained in:
Earl Warren 2024-01-01 16:41:05 +01:00
commit 3ba2f85c64
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
132 changed files with 1322 additions and 335 deletions

View file

@ -281,7 +281,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 {