mirror of
https://github.com/SukkaW/Surge.git
synced 2026-07-29 12:41:45 +08:00
Housekeeping
This commit is contained in:
@@ -276,7 +276,7 @@ export const buildDomesticRuleset = task(require.main === module, __filename)(as
|
||||
if (typeof acc.hosts[domain] === 'string') {
|
||||
acc.hosts[domain] = [acc.hosts[domain]];
|
||||
}
|
||||
acc.hosts[domain].push(...dest);
|
||||
appendArrayInPlace(acc.hosts[domain], dest);
|
||||
} else if (dest.length === 1) {
|
||||
acc.hosts[domain] = dest[0];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user