feat(entrypoint): added CatchAll and NotFound rules and handler

This commit is contained in:
yusing
2025-10-09 01:03:16 +08:00
parent cab68807ee
commit c3fa7c66a7
4 changed files with 46 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ func (r *ReveseProxyRoute) Start(parent task.Parent) gperr.Error {
}
if len(r.Rules) > 0 {
r.handler = r.Rules.BuildHandler(r.Name(), r.handler)
r.handler = r.Rules.BuildHandler(r.handler)
}
if r.HealthMon != nil {