mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
refactor: rename to actions
This commit is contained in:
+2
-2
@@ -202,8 +202,8 @@ func NormalRoutes(ctx context.Context) *web.Route {
|
||||
r.Mount("/v2", packages_router.ContainerRoutes(ctx))
|
||||
}
|
||||
|
||||
if setting.Bots.Enabled {
|
||||
prefix := "/api/bots"
|
||||
if setting.Actions.Enabled {
|
||||
prefix := "/api/actions"
|
||||
r.Mount(prefix, actions_router.Routes(ctx, prefix))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user