mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +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 {
|
||||
(this.singbox.domain_suffix ??= []).push(domain);
|
||||
this.singbox.domain_suffix.push(domain);
|
||||
}
|
||||
|
||||
writeDomainKeywords(keyword: Set<string>): void {
|
||||
|
||||
Reference in New Issue
Block a user