setApiBase
const setApiBase: (base, opts?) => void = client.setApiBase;Defined in: src/ui/api.ts:42
Point the API client at a base URL (used by @xtandard/entitlements/react/embed).
Point the client at a base URL (a trailing / is dropped), optionally with credentials/fetch.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
base |
string |
opts? |
ApiClientOptions |
Returns
Section titled “Returns”void