getStatsAPIBaseURL
Should return the Base URL to be used in the Stats module to fetch event stats.
Overview
The browser implements several security measures, and one of them is CORS policy. This blocks the SDK to fetch from actual domains if origin is not verified. This method is specially helpful if you want to proxy the request locally using a bundler (such as webpack) when developing local or the actual API endpoint when your App is deployed.
Method Signature
getStatsAPIBaseURL(): string;
Parameters
This method does not take any parameters.
Return Value
The Base URL to fetch the event Bets from.