diff options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 0fae7be857..c3c4ed75cd 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -194,6 +194,9 @@ func runWeb(ctx *cli.Context) { // Routers. m.Get("/", ignSignIn, routers.Home) m.Group("/explore", func() { + m.Get("", func(ctx *context.Context) { + ctx.Redirect(setting.AppSubUrl + "/explore/repos") + }) m.Get("/repos", routers.ExploreRepos) m.Get("/users", routers.ExploreUsers) }, ignSignIn) |