Feature: domain trie support wildcard alias
This commit is contained in:
@ -9,8 +9,8 @@ import (
|
||||
"github.com/Dreamacro/clash/adapters/provider"
|
||||
"github.com/Dreamacro/clash/component/auth"
|
||||
"github.com/Dreamacro/clash/component/dialer"
|
||||
trie "github.com/Dreamacro/clash/component/domain-trie"
|
||||
"github.com/Dreamacro/clash/component/resolver"
|
||||
"github.com/Dreamacro/clash/component/trie"
|
||||
"github.com/Dreamacro/clash/config"
|
||||
C "github.com/Dreamacro/clash/constant"
|
||||
"github.com/Dreamacro/clash/dns"
|
||||
@ -154,7 +154,7 @@ func updateDNS(c *config.DNS) {
|
||||
}
|
||||
}
|
||||
|
||||
func updateHosts(tree *trie.Trie) {
|
||||
func updateHosts(tree *trie.DomainTrie) {
|
||||
resolver.DefaultHosts = tree
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user