mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08: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