Use DOMAIN-WILDCARD for Mihomo (#77)

This commit is contained in:
宋彥筠 2025-08-08 12:16:19 +08:00 committed by GitHub
parent a6f8cd53ac
commit 3449ee4850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,7 @@ export class ClashClassicRuleSet extends BaseWriteStrategy {
}
writeDomainWildcard(wildcard: string): void {
this.result.push(`DOMAIN-REGEX,${ClashClassicRuleSet.domainWildCardToRegex(wildcard)}`);
this.result.push(`DOMAIN-WILDCARD,${wildcard}`);
}
writeUserAgents = noop;