Remove deprecated API paths (#2639)

This commit is contained in:
qwerty287
2023-10-24 15:21:05 +02:00
committed by GitHub
parent c344cbb0fc
commit 5045f1e431
5 changed files with 70 additions and 57 deletions

View File

@@ -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)
}
}