Function: enableSelfHosted()
enableSelfHosted(
cdnUrl,queryParams?):void
Defined in: myop-sdk/dist/module/helpers/cloudRepositoryHelpers.d.ts:15
Configure the SDK to fetch components from a self-hosted static registry (S3, CDN, etc.)
instead of the Myop cloud. Components are served as static JSON files:
${cdnUrl}/components/${componentId}/${environment}.json
Parameters
cdnUrl
string
queryParams?
Record<string, string>
Returns
void