mirror of
https://github.com/gogs/gogs.git
synced 2026-05-06 08:47:56 +02:00
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user