O3 Framework / makeUrl
makeUrl(
path):string
Defined in: packages/framework/esm-api/src/openmrs-fetch.ts:30
Append path to the OpenMRS SPA base.
string
The path to append to the OpenMRS base URL.
string
The full URL with the OpenMRS base prepended. If the path is already an absolute URL (starting with ‘http’), it is returned unchanged.
makeUrl('/foo/bar');
// => '/openmrs/foo/bar'