fix(server-go): 移除 RegisterHealthRoutes 重复注册
This commit is contained in:
@@ -91,7 +91,6 @@ func main() {
|
||||
api.Use(middleware.Auth(cfg))
|
||||
|
||||
// 公开路由(auth 白名单中跳过鉴权)
|
||||
handler.RegisterHealthRoutes(api, db)
|
||||
handler.RegisterVideoStreamRoutes(api, transcodeSvc, db, mediaSvc, cfg)
|
||||
|
||||
// JWT 保护的业务路由
|
||||
|
||||
Reference in New Issue
Block a user