1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-11 12:08:21 +00:00

Disable redirect for i18n (#5910) (#5916)

This commit is contained in:
techknowlogick
2019-01-31 10:07:57 -05:00
committed by GitHub
parent 5c30817b5f
commit c3b67ff2f6

View File

@@ -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,