mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 11:07:20 +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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user