getCdnAssetUrl

Function

Returns an env-specific CDN asset URL for the given assetPath and requestOptions.

  • getCdnAssetUrl(assetPath: string, requestOptions: IRequestOptions) : string

Parameters

Parameter Type Default Notes
assetPath Required string

The CDN asset's path

requestOptions Required IRequestOptions

An IRequestOptions object

Available requestOptions

Property Type Notes

Returns

string

Function defined in common/src/urls/get-cdn-asset-url.ts:9