mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-28 12:00:01 +02:00
fix #2804
This commit is contained in:
parent
263304b6b7
commit
f76d821bda
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue