mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-31 21:12:51 +09:00
chore(router): Add grpc and grep-web api
Using connect-go package https://github.com/bufbuild/connect-go Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@ -198,6 +198,6 @@ func NormalRoutes(ctx context.Context) *web.Route {
|
||||
// This implements the OCI API (Note this is not preceded by /api but is instead /v2)
|
||||
r.Mount("/v2", packages_router.ContainerRoutes(ctx))
|
||||
}
|
||||
r.Mount("/api/actions", bots_router.Routes())
|
||||
bots_router.Routes(r)
|
||||
return r
|
||||
}
|
||||
|
Reference in New Issue
Block a user