From 0043dd6685e5b7b33d9afa579d4e68a715412980 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Fri, 5 Mar 2021 18:36:36 +0000 Subject: [PATCH] rename config for NewACAutomatonDomainMatcher to hybrid --- app/router/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/config.go b/app/router/config.go index 85ff45879..d87ec3b5c 100644 --- a/app/router/config.go +++ b/app/router/config.go @@ -70,7 +70,7 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) { if len(rr.Domain) > 0 { switch rr.DomainMatcher { - case "ac": + case "hybrid": matcher, err := NewACAutomatonDomainMatcher(rr.Domain) if err != nil { return nil, newError("failed to build domain condition with ACAutomatonDomainMatcher").Base(err)