mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00:00
single repository page ui preview
This commit is contained in:
1
web.go
1
web.go
@@ -73,6 +73,7 @@ func runWeb(*cli.Context) {
|
||||
m.Any("/repo/create", auth.SignInRequire(true), binding.BindIgnErr(auth.CreateRepoForm{}), repo.Create)
|
||||
m.Any("/repo/delete", auth.SignInRequire(true), repo.Delete)
|
||||
m.Any("/repo/list", auth.SignInRequire(false), repo.List)
|
||||
m.Get("/:username/:reponame", auth.SignInRequire(false), repo.Single)
|
||||
|
||||
listenAddr := fmt.Sprintf("%s:%s",
|
||||
base.Cfg.MustValue("server", "HTTP_ADDR"),
|
||||
|
Reference in New Issue
Block a user