mirror of
https://github.com/SukkaW/Surge.git
synced 2026-03-15 07:26:42 +08:00
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
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user