• Returns the SDK Stats config URL (cfg/v1.json) for the endpoint, derived from the configured base url. For EU data-boundary endpoints an eu- prefix is inserted in front of the host, e.g. https://data.stats... => https://eu-data.stats....

    Parameters

    • endpoint: string

      The customer breeze endpoint that the SDK Stats are being collected for.

    • cfgUrl: string

      The configured (non-EU) SDK Stats config url, when not supplied null is returned.

    Returns string

    The config url to fetch, or null when no url has been configured.