Function normalizeRelayUrl

  • Normalizes a relay URL by removing authentication, www, and hash, and ensures that it ends with a slash.

    Parameters

    • url: string

      The URL to be normalized.

    Returns string

    The normalized URL.