Function getServerHostname

  • Normalizes a server reference to a lowercase hostname

    Parameters

    • server: string | URL

    Returns string