Просмотр исходного кода

rename config for NewACAutomatonDomainMatcher to hybrid

Shelikhoo 4 лет назад
Родитель
Сommit
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)