Skip to content

type Domain is too strict #5

@Shujee

Description

@Shujee

The type Domain is too strict for my use case:

type Domain = `${string}.${string}` | `localhost`;

The container running typesense on my development machine is just called typesense, so I can't use it without aliasing or some other trickery. Also in production, the server name is just a plain IPv4 address, which again doesn't conform to this type. Can something be done in this regard?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions