From bed1a0f15d32b697b773ee3a5a386ad56706e6f5 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Tue, 21 Oct 2025 21:50:57 +0800 Subject: [PATCH] Chore: minor changes --- .../build-domestic-direct-lan-ruleset-dns-mapping-module.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)); });