mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Chore: minor changes
This commit is contained in:
@@ -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));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user