mirror of
https://github.com/go-gitea/gitea
synced 2024-12-27 02:54:20 +01:00
Disable redirect for i18n (#5910)
This commit is contained in:
parent
98feb0ef4d
commit
3a7306945c
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ func NewMacaron() *macaron.Macaron {
|
||||||
Langs: setting.Langs,
|
Langs: setting.Langs,
|
||||||
Names: setting.Names,
|
Names: setting.Names,
|
||||||
DefaultLang: "en-US",
|
DefaultLang: "en-US",
|
||||||
Redirect: true,
|
Redirect: false,
|
||||||
}))
|
}))
|
||||||
m.Use(cache.Cacher(cache.Options{
|
m.Use(cache.Cacher(cache.Options{
|
||||||
Adapter: setting.CacheService.Adapter,
|
Adapter: setting.CacheService.Adapter,
|
||||||
|
|
Loading…
Reference in a new issue