Skip to content

Add removePort option #171

@ianizaguirre

Description

@ianizaguirre

In the Docs, you have an example that has a port on a url and then when you wrap the url with "normalizeUrl" the port is no longer included:
image

When I run this same example locally, the Port :80/ is still included - which is different behavior from what your documentation example above shows:
image

How would I remove the :80/ port portion of a url with your package ?

I am pretty sure there is a bug because when I did another test the behavior is not consistent. As you can see in the image below, the results are not consistent just by changing a url from having http too https and also I see that just changing the actual number for the port in the url makes the behavior different too:
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions