js-client-sdk

Home > @eppo/js-client-sdk > getConfigUrl

getConfigUrl() function

Used to build the URL for fetching the flag configuration.

Signature:

export declare function getConfigUrl(apiKey: string, baseUrl?: string): URL;

Parameters

Parameter Type Description
apiKey string  
baseUrl string (Optional)

Returns:

URL

a URL string