mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
Feat: AdGuardHome with DOMAIN-KEYWORD supports
This commit is contained in:
parent
c24fae555a
commit
bbe92a1b95
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user