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:
parent
22272fe1e4
commit
c84174b764
4 changed files with 5 additions and 5 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