aboutsummaryrefslogtreecommitdiff
path: root/routers/home.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-06 17:27:57 -0400
committerUnknwon <u@gogs.io>2017-04-06 17:27:57 -0400
commit90b9f7e08ca2e027cc587199537aa653ddd94d91 (patch)
tree0dbd625cd1eb929250befa07f18a0517ae23a5d1 /routers/home.go
parent2c404daca612b43bd6b0b720d3e732d9550c0eab (diff)
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/home.go b/routers/home.go
index 66091579..eaf33815 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -34,7 +34,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
}