mirror of https://github.com/go-gitea/gitea.git
Disable redirect for i18n (#5910)
parent
98feb0ef4d
commit
3a7306945c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue