Feat: AdGuardHome with DOMAIN-KEYWORD supports

This commit is contained in:
SukkaW 2024-10-25 02:32:32 +08:00
parent c24fae555a
commit bbe92a1b95

View File

@ -123,6 +123,11 @@ export class DomainsetOutput extends RuleOutput<Preprocessed> {
}
}
for (const keyword of this.domainKeywords) {
// Use regex to match keyword
results.push(`/${keyword}/`);
}
return results;
}
}