mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: optimize filter debugger
This commit is contained in:
@@ -27,12 +27,7 @@ export class DomainsetOutput extends RuleOutput<string[]> {
|
||||
this.$surge.push(subdomain ? '.' + domain : domain);
|
||||
this.$clash.push(subdomain ? `+.${domain}` : domain);
|
||||
(subdomain ? this.$singbox_domains_suffixes : this.$singbox_domains).push(domain);
|
||||
|
||||
if (subdomain) {
|
||||
this.$adguardhome.push(`||${domain}^`);
|
||||
} else {
|
||||
this.$adguardhome.push(`|${domain}^`);
|
||||
}
|
||||
this.$adguardhome.push(subdomain ? `||${domain}^` : `|${domain}^`);
|
||||
}, true);
|
||||
|
||||
return this.$surge;
|
||||
|
||||
Reference in New Issue
Block a user