Perf: no need to check pre-populate sing-box fields
Some checks are pending
Build / Build (push) Waiting to run
Build / Diff output (push) Blocked by required conditions
Build / Deploy to Cloudflare Pages (push) Blocked by required conditions
Build / Deploy to GitHub and GitLab (push) Blocked by required conditions

This commit is contained in:
SukkaW 2025-01-29 04:02:38 +08:00
parent 7eee4bb3bc
commit 956d98d7dc

View File

@ -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 {