mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-02 12:42:21 +00:00
re-added /api/hook
for gitlab
This commit is contained in:
parent
66d54ade7c
commit
e5065da888
1 changed files with 2 additions and 4 deletions
|
@ -114,10 +114,8 @@ func Load(middleware ...gin.HandlerFunc) http.Handler {
|
||||||
badges.GET("/cc.xml", controller.GetCC)
|
badges.GET("/cc.xml", controller.GetCC)
|
||||||
}
|
}
|
||||||
|
|
||||||
hook := e.Group("/hook")
|
e.POST("/hook", controller.PostHook)
|
||||||
{
|
e.POST("/api/hook", controller.PostHook)
|
||||||
hook.POST("", controller.PostHook)
|
|
||||||
}
|
|
||||||
|
|
||||||
stream := e.Group("/api/stream")
|
stream := e.Group("/api/stream")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue