소스 검색

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)