fix: 注册 /v1/common/client/download 路由,修复客户端下载链接 404
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 8m8s
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 8m8s
handler 和 logic 代码已迁移但 routes.go 漏注册该端点。 Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
parent
b3c721ee58
commit
ec39579c39
@ -716,6 +716,9 @@ func RegisterHandlers(router *gin.Engine, serverCtx *svc.ServiceContext) {
|
|||||||
// Get Client
|
// Get Client
|
||||||
commonGroupRouter.GET("/client", common.GetClientHandler(serverCtx))
|
commonGroupRouter.GET("/client", common.GetClientHandler(serverCtx))
|
||||||
|
|
||||||
|
// Get Download Link
|
||||||
|
commonGroupRouter.GET("/client/download", common.GetDownloadLinkHandler(serverCtx))
|
||||||
|
|
||||||
// Heartbeat
|
// Heartbeat
|
||||||
commonGroupRouter.GET("/heartbeat", common.HeartbeatHandler(serverCtx))
|
commonGroupRouter.GET("/heartbeat", common.HeartbeatHandler(serverCtx))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user