feat(entrypoint): add not found rule to customize 404 behavior

This commit is contained in:
yusing
2025-10-12 21:04:49 +08:00
parent 5640d5d454
commit dc9ae32e8f
3 changed files with 0 additions and 23 deletions

View File

@@ -196,7 +196,6 @@ func (state *state) initEntrypoint() error {
matchDomains := state.MatchDomains
state.entrypoint.SetFindRouteDomains(matchDomains)
state.entrypoint.SetCatchAllRules(epCfg.Rules.CatchAll)
state.entrypoint.SetNotFoundRules(epCfg.Rules.NotFound)
errs := gperr.NewBuilder("entrypoint error")