Browse Source

Chore: minor changes

SukkaW 5 months ago
parent
commit
bed1a0f15d
1 changed files with 1 additions and 4 deletions
  1. 1 4
      Build/build-domestic-direct-lan-ruleset-dns-mapping-module.ts

+ 1 - 4
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));
   });