瀏覽代碼

rename config for NewACAutomatonDomainMatcher to hybrid

Shelikhoo 4 年之前
父節點
當前提交
0043dd6685
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/router/config.go

+ 1 - 1
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)