• Returns the base URL including protocol, hostname and any non-standard port. The returned URL does not include a trailing slash.

    Parameters

    • url: URL

    Returns string