mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: faster adguard filter syntax parsing
This commit is contained in:
@@ -12,3 +12,8 @@ export const loosTldOptWithPrivateDomains: Parameters<typeof tldts.getSubdomain>
|
||||
...looseTldtsOpt,
|
||||
allowPrivateDomains: true
|
||||
};
|
||||
|
||||
export const normalizeTldtsOpt: Parameters<typeof tldts.getSubdomain>[1] = {
|
||||
allowPrivateDomains: true
|
||||
// detectIp: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user