resourcesPath
Custom path for loading SDK resources.
Last updated
Custom path for loading SDK resources.
Attribute: resources-path
Type: string
Default value: undefined
provider.resourcesPath = '/assets/sdk';Base path from which facephi-sdk-provider and child wrappers (facephi-selphi-widget, facephi-selphid-widget, etc.) resolve static resources and engines when engineLocation in each Widget.
The path must be absolute or relative to the origin of the application (e.g. /assets/sdk). Relative paths with notation are not allowed ./ or ../.
<facephi-sdk-provider
apikey={process.env.FACEPHI_SDK_APIKEY}
resourcesPath={'/assets/sdk'}
/>Last updated