node-tld icon indicating copy to clipboard operation
node-tld copied to clipboard

`allowUnknownTLD` not working properly

Open GarethChetwood opened this issue 3 years ago • 1 comments

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.

GarethChetwood avatar Apr 27 '22 15:04 GarethChetwood

what would be the expected parsing of this domain ?

131 avatar Jul 17 '24 21:07 131