Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Go: remove duplicated routes (#17758)

Jin Hai6d05facb814f
diff --git a/internal/router/router.go b/internal/router/router.go
index 94527d7455..1d679c4a79 100644
--- a/internal/router/router.go
+++ b/internal/router/router.go
@@ -153,9 +153,6 @@ func (r *Router) Setup(engine *gin.Engine) {
// Health check
engine.GET("/health", r.systemHandler.Health)
- // User logout endpoint
- engine.GET("/v1/user/logout", r.userHandler.Logout)
-
apiNoAuth := engine.Group("/api/v1")
{
apiNoAuth.GET("/system/ping", r.systemHandler.Ping)
@@ -643,14 +640,6 @@ func (r *Router) Setup(engine *gin.Engine) {
connectors.POST("/:connector_id/test", r.connectorHandler.TestConnector)
}
- // Connector routes
- connector := authorized.Group("/v1/connector")
- {
- connector.GET("/list", r.connectorHandler.ListConnectors)
- connector.GET("/:connector_id", r.connectorHandler.GetConnector)
- connector.POST("/:connector_id/rebuild", r.connectorHandler.RebuildConnector)
- }
-
// MCP server routes.
mcp := v1.Group("/mcp")
{