mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Improve parsing (ready for reject ip and reject wildcard)
This commit is contained in:
@@ -3,9 +3,9 @@ import type * as tldts from 'tldts';
|
||||
export const looseTldtsOpt: NonNullable<Parameters<typeof tldts.getSubdomain>[1]> = {
|
||||
allowPrivateDomains: false,
|
||||
extractHostname: false,
|
||||
mixedInputs: false,
|
||||
validateHostname: false,
|
||||
detectIp: false,
|
||||
mixedInputs: false
|
||||
detectIp: false
|
||||
};
|
||||
|
||||
export const loosTldOptWithPrivateDomains: NonNullable<Parameters<typeof tldts.getSubdomain>[1]> = {
|
||||
|
||||
Reference in New Issue
Block a user