aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/web.go
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-03 17:23:43 +0000
committerGitHub <noreply@github.com>2022-01-03 18:23:43 +0100
commit650a50a7ba8efcd8d02c4c93e5abc19f27e6c4b5 (patch)
treee23f5e66970a96be1599bfdd13fd203df005237b /routers/web/web.go
parent48aab263d1d60612be05a67c46172b5a5a718dba (diff)
downloadgitea-650a50a7ba8efcd8d02c4c93e5abc19f27e6c4b5.tar.gz
gitea-650a50a7ba8efcd8d02c4c93e5abc19f27e6c4b5.zip
Remove unused route "/tasks/trigger" (#18160)
ref: https://github.com/go-gitea/gitea/pull/18160#issuecomment-1004091325
Diffstat (limited to 'routers/web/web.go')
-rw-r--r--routers/web/web.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/web/web.go b/routers/web/web.go
index 3589ec9bd6..2796904cee 100644
--- a/routers/web/web.go
+++ b/routers/web/web.go
@@ -1064,8 +1064,6 @@ func RegisterRoutes(m *web.Route) {
m.GetOptions("/objects/pack/pack-{file:[0-9a-f]{40}}.pack", repo.GetPackFile)
m.GetOptions("/objects/pack/pack-{file:[0-9a-f]{40}}.idx", repo.GetIdxFile)
}, ignSignInAndCsrf)
-
- m.Head("/tasks/trigger", repo.TriggerTask)
})
})
// ***** END: Repository *****