fix(server-go): 移除 RegisterHealthRoutes 重复注册

This commit is contained in:
weijuesen
2026-08-13 14:29:40 +08:00
parent 725d98aac5
commit 492d1ef71c
-1
View File
@@ -91,7 +91,6 @@ func main() {
api.Use(middleware.Auth(cfg))
// 公开路由(auth 白名单中跳过鉴权)
handler.RegisterHealthRoutes(api, db)
handler.RegisterVideoStreamRoutes(api, transcodeSvc, db, mediaSvc, cfg)
// JWT 保护的业务路由