@tigorhutasuhut/telemetry-js - v0.7.3
    Preparing search index...

    Function normalizeEndpoint

    • Normalise a URL string:

      • empty/undefined → undefined
      • already has http:// or https:// → keep as-is
      • no protocol → prepend https://

      Trailing slashes are stripped.

      Parameters

      • url: string | undefined

      Returns string | undefined