mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Feat: AdGuardHome with DOMAIN-KEYWORD supports
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user