1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Disable redirect for i18n (#5910)

This commit is contained in:
techknowlogick 2019-01-31 09:38:20 -05:00 committed by GitHub
parent 98feb0ef4d
commit 3a7306945c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,