diff options
author | techknowlogick <matti@mdranta.net> | 2019-01-31 10:07:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 10:07:57 -0500 |
commit | c3b67ff2f6005cc07cc84b46bbdf088e110a8bc3 (patch) | |
tree | 12a3622216158b70747b39f38ebd4e2420e4a575 | |
parent | 5c30817b5fa1fdeedc8d4fc02cf228dc0e6dc556 (diff) | |
download | gitea-c3b67ff2f6005cc07cc84b46bbdf088e110a8bc3.tar.gz gitea-c3b67ff2f6005cc07cc84b46bbdf088e110a8bc3.zip |
Disable redirect for i18n (#5910) (#5916)
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index cb7415cad4..752385d876 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -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, |