diff options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 4fa93ba4d8..b793cf0daf 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -563,6 +563,11 @@ func runWeb(ctx *cli.Context) error { }, reqSignIn, reqRepoWriter) }, repo.MustEnableWiki, context.RepoRef()) + m.Group("/wiki", func() { + m.Get("/raw/*", repo.WikiRaw) + m.Get("/*", repo.WikiRaw) + }, repo.MustEnableWiki) + m.Get("/archive/*", repo.Download) m.Group("/pulls/:index", func() { |