Browse Source

Create a name for linear domain matcher

Shelikhoo 4 years ago
parent
commit
e24ddf588e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/router/config.go

+ 2 - 0
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 {