Browse Source

Merge pull request #1055 from c35sys/develop

Add setting.AppSubUrl for LANDING_PAGE = explore
tags/v1.2.0-rc1
无闻 11 years ago
parent
commit
75163838e8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/middleware/auth.go

+ 1
- 1
modules/middleware/auth.go View File

@@ -30,7 +30,7 @@ func Toggle(options *ToggleOptions) macaron.Handler {

// Checking non-logged users landing page.
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
}



Loading…
Cancel
Save