Partial backport without changes to locale files. Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template Fixes /explore and organisation redirection
This commit is contained in:
parent
83c90e9ba0
commit
1d10747514
3 changed files with 3 additions and 3 deletions
|
@ -273,7 +273,7 @@ func ExploreOrganizations(ctx *context.Context) {
|
|||
// ExploreCode render explore code page
|
||||
func ExploreCode(ctx *context.Context) {
|
||||
if !setting.Indexer.RepoIndexerEnabled {
|
||||
ctx.Redirect("/explore", 302)
|
||||
ctx.Redirect(setting.AppSubURL+"/explore", 302)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue