This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request
#1055
from c35sys/develop
Add setting.AppSubUrl for LANDING_PAGE = explore
master
无闻
10 years ago
parent
588f3215c6
d61962a18a
commit
69025f1510
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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(s
etting.AppSubUrl + s
tring(setting.LandingPageUrl))
return
}
Write
Preview
Loading…
Cancel
Save