Skip to content

Commit 3a73069

Browse files
Disable redirect for i18n (#5910)
1 parent 98feb0e commit 3a73069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/routes/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func NewMacaron() *macaron.Macaron {
106106
Langs: setting.Langs,
107107
Names: setting.Names,
108108
DefaultLang: "en-US",
109-
Redirect: true,
109+
Redirect: false,
110110
}))
111111
m.Use(cache.Cacher(cache.Options{
112112
Adapter: setting.CacheService.Adapter,

0 commit comments

Comments
 (0)