forked from forgejo/forgejo
update git api. fix link... and so on
This commit is contained in:
parent
41ca0ed302
commit
b27c34f39a
11 changed files with 63 additions and 91 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue