1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

Merge branch 'main' into issue-1820-fix-compute-status

This commit is contained in:
paulo-ocean 2024-06-25 09:02:36 +01:00
commit af9a8e7ec0
2 changed files with 5 additions and 2 deletions

2
.github/CODEOWNERS vendored
View File

@ -1 +1 @@
* @mihaisc @kremalicious @alexcos20 @bogdanfazakas
* @mihaisc @alexcos20 @bogdanfazakas @paulo-ocean @mariacarmina @jamiehewitt15

View File

@ -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)
}