From f76d821bdacf4449113547f3cc3301349516cd34 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 11 Mar 2016 17:12:37 -0500 Subject: fix #2804 --- cmd/web.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd/web.go') diff --git a/cmd/web.go b/cmd/web.go index 0fae7be8..c3c4ed75 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) -- cgit v1.2.3