@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Function getRealmUrl

    • Resolve a realm name to its base API URL. If the realm is not a known name, it is returned as-is (assumed to be a URL).

      Parameters

      • realm: string

        The realm name or direct URL to resolve.

      Returns string

      The base API URL for the given realm.