mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: no need to check pre-populate sing-box fields
This commit is contained in:
@@ -53,7 +53,7 @@ export class SingboxSource extends BaseWriteStrategy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
writeDomainSuffix(domain: string): void {
|
writeDomainSuffix(domain: string): void {
|
||||||
(this.singbox.domain_suffix ??= []).push(domain);
|
this.singbox.domain_suffix.push(domain);
|
||||||
}
|
}
|
||||||
|
|
||||||
writeDomainKeywords(keyword: Set<string>): void {
|
writeDomainKeywords(keyword: Set<string>): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user