mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Disable redirect for i18n (#5910)
This commit is contained in:
		@@ -106,7 +106,7 @@ func NewMacaron() *macaron.Macaron {
 | 
			
		||||
		Langs:       setting.Langs,
 | 
			
		||||
		Names:       setting.Names,
 | 
			
		||||
		DefaultLang: "en-US",
 | 
			
		||||
		Redirect:    true,
 | 
			
		||||
		Redirect:    false,
 | 
			
		||||
	}))
 | 
			
		||||
	m.Use(cache.Cacher(cache.Options{
 | 
			
		||||
		Adapter:       setting.CacheService.Adapter,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user