diff options
Diffstat (limited to 'pkg/context/context.go')
-rw-r--r-- | pkg/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/context/context.go b/pkg/context/context.go index 4a11ce06..1649dc3d 100644 --- a/pkg/context/context.go +++ b/pkg/context/context.go @@ -185,7 +185,7 @@ func Contexter() macaron.Handler { } // Compute current URL for real-time change language. - ctx.Data["Link"] = setting.AppSubUrl + strings.TrimSuffix(ctx.Req.URL.Path, "/") + ctx.Data["Link"] = setting.AppSubURL + strings.TrimSuffix(ctx.Req.URL.Path, "/") ctx.Data["PageStartTime"] = time.Now() |