mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: minor changes
This commit is contained in:
9
Build/constants/loose-tldts-opt.ts
Normal file
9
Build/constants/loose-tldts-opt.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type * as tldts from 'tldts';
|
||||
|
||||
export const looseTldtsOpt: Parameters<typeof tldts.getSubdomain>[1] = {
|
||||
allowPrivateDomains: false,
|
||||
extractHostname: false,
|
||||
validateHostname: false,
|
||||
detectIp: false,
|
||||
mixedInputs: false
|
||||
};
|
||||
Reference in New Issue
Block a user