mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-05 09:54:36 -04:00
single repository page ui preview
This commit is contained in:
parent
3c67318d8f
commit
4fff38856e
6 changed files with 220 additions and 1 deletions
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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue