If I build the following URL:
const propertiesApi = "http://localhost:3332/api"
const id = "a48585e0-80a7-4baf-834a-d9f65dac75b1"
const {url} = useUrl({
path: '/properties/:propertyId',
pathVariables: {
propertyId: id
},
queryParams: {}
}, propertiesApi)
The URL I am given back is https://localhosta48585e0-80a7-4baf-834a-d9f65dac75b1/api/properties/a48585e0-80a7-4baf-834a-d9f65dac75b1
Notice the :3332 in the URL is stripped incorrectly creating an invalid URL.
If I build the following URL:
The URL I am given back is
https://localhosta48585e0-80a7-4baf-834a-d9f65dac75b1/api/properties/a48585e0-80a7-4baf-834a-d9f65dac75b1Notice the
:3332in the URL is stripped incorrectly creating an invalid URL.