mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Re-enable DOMAIN-KEYWORD overlapping DOMAIN-WILDCARD dedupe
This commit is contained in:
@@ -444,6 +444,11 @@ export class FileOutput {
|
||||
|
||||
if (this.wildcardSet.size) {
|
||||
this.wildcardSet.forEach((wildcard) => {
|
||||
// Overlapped w/ DOMAIN-kEYWORD
|
||||
if (kwfilter(wildcard)) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (let i = 0; i < strategiesLen; i++) {
|
||||
const strategy = this.strategies[i];
|
||||
strategy.writeDomainWildcard(wildcard);
|
||||
|
||||
Reference in New Issue
Block a user