mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-14 10:10:34 +08:00
Perf: no need to check pre-populate sing-box fields
This commit is contained in:
parent
7eee4bb3bc
commit
956d98d7dc
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user