Skip to content

TLD parsing options #499

@sammacbeth

Description

@sammacbeth

Currently the hostname is parsed using default tldts options. In practice we may want to pass options such as allowPrivateDomains when parsing the hostname.

We could, for example, add an optional argument to the URL constructor with the tldts IOptions for tldts.parse. Alternatively we could expose a global that sets the options for all URLs created by the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions