mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Use AppSubUrl for more redirections (#8647)
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template Fixes /explore and organisation redirection
This commit is contained in:
@ -63,7 +63,7 @@ func HandleOrgAssignment(ctx *Context, args ...bool) {
|
||||
|
||||
// Force redirection when username is actually a user.
|
||||
if !org.IsOrganization() {
|
||||
ctx.Redirect("/" + org.Name)
|
||||
ctx.Redirect(setting.AppSubURL + "/" + org.Name)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user