1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-30 10:11:23 +02:00

re-added /api/hook for gitlab

This commit is contained in:
Brad Rydzewski 2015-10-03 16:57:24 -07:00
parent 66d54ade7c
commit e5065da888

View File

@ -114,10 +114,8 @@ func Load(middleware ...gin.HandlerFunc) http.Handler {
badges.GET("/cc.xml", controller.GetCC)
}
hook := e.Group("/hook")
{
hook.POST("", controller.PostHook)
}
e.POST("/hook", controller.PostHook)
e.POST("/api/hook", controller.PostHook)
stream := e.Group("/api/stream")
{