mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Web editor: improve code quality
This commit is contained in:
@@ -39,7 +39,7 @@ func UploadFile(ctx *context.Context) {
|
||||
repoName := ctx.Repo.Repository.Name
|
||||
branchName := ctx.Repo.BranchName
|
||||
branchLink := ctx.Repo.RepoLink + "/src/" + branchName
|
||||
treeName := ctx.Repo.TreeName
|
||||
treeName := ctx.Repo.TreePath
|
||||
|
||||
treeNames := []string{""}
|
||||
if len(treeName) > 0 {
|
||||
|
Reference in New Issue
Block a user