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:
commit
af9a8e7ec0
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@ -1 +1 @@
|
|||||||
* @mihaisc @kremalicious @alexcos20 @bogdanfazakas
|
* @mihaisc @alexcos20 @bogdanfazakas @paulo-ocean @mariacarmina @jamiehewitt15
|
||||||
|
@ -61,7 +61,10 @@ export class Provider {
|
|||||||
const endpoint: ServiceEndpoint = {
|
const endpoint: ServiceEndpoint = {
|
||||||
serviceName: i,
|
serviceName: i,
|
||||||
method: endpoints.serviceEndpoints[i][0],
|
method: endpoints.serviceEndpoints[i][0],
|
||||||
urlPath: providerEndpoint + endpoints.serviceEndpoints[i][1]
|
urlPath:
|
||||||
|
providerEndpoint.replace(/\/+$/, '') +
|
||||||
|
'/' +
|
||||||
|
endpoints.serviceEndpoints[i][1].replace(/^\/+/, '')
|
||||||
}
|
}
|
||||||
serviceEndpoints.push(endpoint)
|
serviceEndpoints.push(endpoint)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user