mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-22 03:53:29 +02:00
1 parent
1901f35980
commit
d918e63bc5
49 files changed
+786
-8
No files matched your search
@@ -620,7 +620,7 @@ func RepoRefByType(refType RepoRefType) macaron.Handler {
|
||||
// redirect from old URL scheme to new URL scheme
|
||||
ctx.Redirect(path.Join(
|
||||
setting.AppSubURL,
|
||||
strings.TrimSuffix(ctx.Req.URL.String(), ctx.Params("*")),
|
||||
strings.TrimSuffix(ctx.Req.URL.Path, ctx.Params("*")),
|
||||
ctx.Repo.BranchNameSubURL(),
|
||||
ctx.Repo.TreePath))
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user