mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 11:31:54 +01:00
Merge branch 'develop' of github.com:gogits/gogs into develop
This commit is contained in:
commit
35c83f6026
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ func Toggle(options *ToggleOptions) macaron.Handler {
|
||||||
|
|
||||||
// Checking non-logged users landing page.
|
// Checking non-logged users landing page.
|
||||||
if !ctx.IsSigned && ctx.Req.RequestURI == "/" && setting.LandingPageUrl != setting.LANDING_PAGE_HOME {
|
if !ctx.IsSigned && ctx.Req.RequestURI == "/" && setting.LandingPageUrl != setting.LANDING_PAGE_HOME {
|
||||||
ctx.Redirect(string(setting.LandingPageUrl))
|
ctx.Redirect(setting.AppSubUrl + string(setting.LandingPageUrl))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue