mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-19 09:44:48 +00:00
Remove deprecated API paths (#2639)
This commit is contained in:
@@ -224,13 +224,4 @@ func apiRoutes(e *gin.RouterGroup) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: remove /hook in favor of /api/hook
|
||||
e.POST("/hook", api.PostHook)
|
||||
|
||||
// TODO: move to /api/stream
|
||||
sse := e.Group("/stream")
|
||||
{
|
||||
sse.GET("/events", api.EventStreamSSE)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user