diff options
Diffstat (limited to 'routers/home.go')
-rw-r--r-- | routers/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/home.go b/routers/home.go index ee425a830e..a2faf65bcc 100644 --- a/routers/home.go +++ b/routers/home.go @@ -42,7 +42,7 @@ func Home(ctx *context.Context) { // Check auto-login. uname := ctx.GetCookie(setting.CookieUserName) if len(uname) != 0 { - ctx.Redirect(setting.AppSubUrl + "/user/login") + ctx.Redirect(setting.AppSubURL + "/user/login") return } |