mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 01:57:20 +00:00
update git api. fix link... and so on
This commit is contained in:
@ -364,7 +364,7 @@ func GetRepos(num, offset int) ([]UserRepo, error) {
|
||||
}
|
||||
|
||||
func RepoPath(userName, repoName string) string {
|
||||
return filepath.Join(UserPath(userName), repoName+".git")
|
||||
return filepath.Join(UserPath(userName), strings.ToLower(repoName)+".git")
|
||||
}
|
||||
|
||||
func UpdateRepository(repo *Repository) error {
|
||||
|
Reference in New Issue
Block a user