Use <username>.<pages url> instead of just pages for the default repo
This commit is contained in:
2
repo.go
2
repo.go
@@ -99,7 +99,7 @@ func RepoFromPath(username, host, cname, path string, giteaClient *gitea.Client)
|
|||||||
log.Debugf("Trying repository pages")
|
log.Debugf("Trying repository pages")
|
||||||
repo, err := lookupRepositoryAndCache(
|
repo, err := lookupRepositoryAndCache(
|
||||||
username,
|
username,
|
||||||
"pages",
|
domain,
|
||||||
host,
|
host,
|
||||||
domain,
|
domain,
|
||||||
path,
|
path,
|
||||||
|
|||||||
Reference in New Issue
Block a user