Update routers/api/v1/api.go
This commit is contained in:
parent
82f6200d3c
commit
6256bab860
1 changed files with 1 additions and 1 deletions
|
@ -1073,7 +1073,7 @@ func Routes(ctx gocontext.Context) *web.Route {
|
||||||
}, repoAssignment())
|
}, repoAssignment())
|
||||||
})
|
})
|
||||||
|
|
||||||
// NOTE: these are Gitea package management API - see packages.CommonRoutes and packages.DockerContainerRoutes for endpoints to see implementations of package manager APIs
|
// NOTE: these are Gitea package management API - see packages.CommonRoutes and packages.DockerContainerRoutes for endpoints that implement package manager APIs
|
||||||
m.Group("/packages/{username}", func() {
|
m.Group("/packages/{username}", func() {
|
||||||
m.Group("/{type}/{name}/{version}", func() {
|
m.Group("/{type}/{name}/{version}", func() {
|
||||||
m.Get("", packages.GetPackage)
|
m.Get("", packages.GetPackage)
|
||||||
|
|
Loading…
Add table
Reference in a new issue