diff --git a/Build/build-domestic-direct-lan-ruleset-dns-mapping-module.ts b/Build/build-domestic-direct-lan-ruleset-dns-mapping-module.ts index af53a821..9def7cf6 100644 --- a/Build/build-domestic-direct-lan-ruleset-dns-mapping-module.ts +++ b/Build/build-domestic-direct-lan-ruleset-dns-mapping-module.ts @@ -71,10 +71,7 @@ export const getDomesticAndDirectDomainsRulesetPromise = once(async () => { Object.values(LAN).forEach(({ domains }) => { appendArrayInPlace(directs, domains.flatMap(getDnsMappingRuleWithWildcard)); - }); - - // backward compatible, add lan.conf - Object.values(LAN).forEach(({ domains }) => { + // backward compatible, add lan.conf appendArrayInPlace(lans, domains.flatMap(getDnsMappingRuleWithWildcard)); });