0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 21:06:20 +02:00

add missing serv route

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-11-24 20:55:51 -05:00
parent 1fa9298ad2
commit 59667c4c6e
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -74,6 +74,7 @@ func Routes() *web.Router {
r.Post("/hook/set-default-branch/{owner}/{repo}/{branch}", RepoAssignment, SetDefaultBranch)
r.Get("/serv/none/{keyid}", ServNoCommand)
r.Get("/serv/command/{keyid}/{owner}/{repo}", ServCommand)
r.Get("/serv/command/{keyid}/{owner}/group/{group_id}/{repo}", ServCommand)
r.Post("/manager/shutdown", Shutdown)
r.Post("/manager/restart", Restart)
r.Post("/manager/reload-templates", ReloadTemplates)