From e24ddf588e90a7e45ea17c44e8779a6c4def8b70 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sun, 7 Mar 2021 13:39:36 +0000 Subject: [PATCH] Create a name for linear domain matcher --- app/router/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/router/config.go b/app/router/config.go index d87ec3b5cb8..07931711fea 100644 --- a/app/router/config.go +++ b/app/router/config.go @@ -77,6 +77,8 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) { } newError("ACAutomatonDomainMatcher is enabled for ", len(rr.Domain), "domain rules(s)").AtDebug().WriteToLog() conds.Add(matcher) + case "linear": + fallthrough default: matcher, err := NewDomainMatcher(rr.Domain) if err != nil {