feat(subscribe): update subscribe path

This commit is contained in:
Chang lue Tsen
2025-09-16 10:39:19 -04:00
parent 621eda41c2
commit b5c756af35
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func SubscribeHandler(svcCtx *svc.ServiceContext) func(c *gin.Context) {
func RegisterSubscribeHandlers(router *gin.Engine, serverCtx *svc.ServiceContext) {
path := serverCtx.Config.Subscribe.SubscribePath
if path == "" {
path = "/api/subscribe"
path = "/v1/subscribe/config"
}
router.GET(path, SubscribeHandler(serverCtx))
}