joinDataPath
joinDataPath(
basePath,resourcePath):string
Defined in: chat/src/features/data-package/utils/joinDataPath.ts:7
Join a base path (udi:path) with a resource path, handling:
- Base with or without trailing slash
- Resource with or without leading slash
- HTTP(S) URLs and local relative paths
Parameters
Section titled “Parameters”basePath
Section titled “basePath”string
resourcePath
Section titled “resourcePath”string
Returns
Section titled “Returns”string