diff --git a/src/services/Provider.ts b/src/services/Provider.ts index 27cb40aa1..548ca6324 100644 --- a/src/services/Provider.ts +++ b/src/services/Provider.ts @@ -61,7 +61,10 @@ export class Provider { const endpoint: ServiceEndpoint = { serviceName: i, method: endpoints.serviceEndpoints[i][0], - urlPath: providerEndpoint + endpoints.serviceEndpoints[i][1] + urlPath: + providerEndpoint.replace(/\/+$/, '') + + '/' + + endpoints.serviceEndpoints[i][1].replace(/^\/+/, '') } serviceEndpoints.push(endpoint) }