Experimental: LAN Cache Support (WIP)
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy to Cloudflare Pages (3.114.12) (push) Has been cancelled
Build / Deploy to GitHub and GitLab (push) Has been cancelled
Build / Remove Artifacts after Deployment (push) Has been cancelled

This commit is contained in:
SukkaW
2026-03-06 17:32:16 +08:00
parent 8dda300d48
commit baeae2dd73
2 changed files with 93 additions and 4 deletions

View File

@@ -147,9 +147,14 @@ export class FileOutput {
return this;
}
bulkAddDomainWildcard(domains: string[]) {
for (let i = 0, len = domains.length; i < len; i++) {
this.wildcardSet.add(domains[i]);
addDomainWildcard(wildcard: string) {
this.wildcardSet.add(wildcard);
return this;
}
bulkAddDomainWildcard(wildcards: string[]) {
for (let i = 0, len = wildcards.length; i < len; i++) {
this.wildcardSet.add(wildcards[i]);
}
return this;
}