• Change the Edge API URL. Useful if you want to point to a different ContentStack environment.

    Call this method before initializing the SDK.

    Parameters

    • edgeApiUrl: string

      Edge API URL

    Returns void

    Personalize.setEdgeApiUrl('https://eu-personalize-edge.contentstack.com');
    await Personalize.init(projectUid);