aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortechknowlogick2019-01-31 10:07:57 -0500
committerGitHub2019-01-31 10:07:57 -0500
commitc3b67ff2f6005cc07cc84b46bbdf088e110a8bc3 (patch)
tree12a3622216158b70747b39f38ebd4e2420e4a575
parent5c30817b5fa1fdeedc8d4fc02cf228dc0e6dc556 (diff)
Disable redirect for i18n (#5910) (#5916)
-rw-r--r--routers/routes/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index cb7415cad..752385d87 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,