diff --git a/common/matcher/conf/conf.go b/common/matcher/domain/conf/conf.go similarity index 100% rename from common/matcher/conf/conf.go rename to common/matcher/domain/conf/conf.go diff --git a/common/matcher/conf/domain.go b/common/matcher/domain/conf/domain.go similarity index 100% rename from common/matcher/conf/domain.go rename to common/matcher/domain/conf/domain.go diff --git a/common/matcher/conf/errors.generated.go b/common/matcher/domain/conf/errors.generated.go similarity index 100% rename from common/matcher/conf/errors.generated.go rename to common/matcher/domain/conf/errors.generated.go diff --git a/infra/conf/dns.go b/infra/conf/dns.go index b9623040..ce7bc24e 100644 --- a/infra/conf/dns.go +++ b/infra/conf/dns.go @@ -6,8 +6,8 @@ import ( "strings" "github.com/xtls/xray-core/app/dns" - "github.com/xtls/xray-core/common/matcher/conf" dm "github.com/xtls/xray-core/common/matcher/domain" + "github.com/xtls/xray-core/common/matcher/domain/conf" "github.com/xtls/xray-core/common/matcher/geosite" "github.com/xtls/xray-core/common/net" ) diff --git a/infra/conf/router.go b/infra/conf/router.go index de6246cb..128096ab 100644 --- a/infra/conf/router.go +++ b/infra/conf/router.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/xtls/xray-core/app/router" - "github.com/xtls/xray-core/common/matcher/conf" + "github.com/xtls/xray-core/common/matcher/domain/conf" "github.com/xtls/xray-core/common/matcher/geoip" "github.com/xtls/xray-core/common/matcher/geosite" "github.com/xtls/xray-core/common/net"