diff options
Diffstat (limited to 'routers/repo/upload.go')
-rw-r--r-- | routers/repo/upload.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/upload.go b/routers/repo/upload.go index c77bdce81a..5e0f91668f 100644 --- a/routers/repo/upload.go +++ b/routers/repo/upload.go @@ -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 { |