node-tld
node-tld copied to clipboard
`allowUnknownTLD` not working properly
I'm not sure how this is the case, but I'm still getting an error thrown even when allowUnknownTLD is set to true.
As a result I've had to surround the call to parse with a try/catch block in order to stop it falling over when I'm on https://localhost:3000, for example.
what would be the expected parsing of this domain ?