mirror of
https://github.com/go-gitea/gitea
synced 2025-11-03 04:48:25 +00:00
feat: support cancel button
This commit is contained in:
@@ -1225,7 +1225,7 @@ func RegisterRoutes(m *web.Route) {
|
||||
Post(bindIgnErr(builds.ViewRequest{}), builds.ViewPost)
|
||||
m.Post("/rerun", builds.Rerun)
|
||||
})
|
||||
|
||||
m.Post("/cancel", builds.Cancel)
|
||||
})
|
||||
}, reqRepoBuildsReader, builds.MustEnableBuilds)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user