mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-27 10:52:03 +08:00
Go: fix missing route (#17094)
As title. Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -75,6 +75,11 @@ func RegisterEERouter(protected *gin.RouterGroup, r *Router) {
|
||||
protected.POST("/license/config", r.handler.UpdateLicenseConfig)
|
||||
protected.GET("/license", r.handler.ShowLicense)
|
||||
|
||||
// Token statistics
|
||||
protected.GET("/stats/token", r.handler.GetTokenStats)
|
||||
protected.GET("/stats/token/users", r.handler.GetTokenUsersStats)
|
||||
protected.GET("/stats/token/summary", r.handler.GetTokenStatsSummary)
|
||||
|
||||
// Stats data info
|
||||
protected.GET("/users/:username/activity", r.handler.ShowUserActivity)
|
||||
protected.GET("/users/:username/dataset", r.handler.ShowUserDatasetSummary)
|
||||
|
||||
Reference in New Issue
Block a user