aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/http_client.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-01-13 03:53:14 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-01-13 03:53:14 +0800
commitfbcbf066cdc13b99d1d280e131c01bd5456d90ae (patch)
tree8ff60593fcd1b66c22bc9908bd96dead6653df41 /packages/connect/src/http_client.ts
parentc2c75124315f71c8a87ac83cbab84ba02115169d (diff)
downloaddexon-sol-tools-fbcbf066cdc13b99d1d280e131c01bd5456d90ae.tar
dexon-sol-tools-fbcbf066cdc13b99d1d280e131c01bd5456d90ae.tar.gz
dexon-sol-tools-fbcbf066cdc13b99d1d280e131c01bd5456d90ae.tar.bz2
dexon-sol-tools-fbcbf066cdc13b99d1d280e131c01bd5456d90ae.tar.lz
dexon-sol-tools-fbcbf066cdc13b99d1d280e131c01bd5456d90ae.tar.xz
dexon-sol-tools-fbcbf066cdc13b99d1d280e131c01bd5456d90ae.tar.zst
dexon-sol-tools-fbcbf066cdc13b99d1d280e131c01bd5456d90ae.zip
Stop appending /v0 to HttpClient api endpoint urls
Diffstat (limited to 'packages/connect/src/http_client.ts')
-rw-r--r--packages/connect/src/http_client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts
index c30b499a2..3df77b0f0 100644
--- a/packages/connect/src/http_client.ts
+++ b/packages/connect/src/http_client.ts
@@ -131,7 +131,7 @@ export class HttpClient implements Client {
const stringifiedParams = queryString.stringify(params);
query = `?${stringifiedParams}`;
}
- const url = `${this._apiEndpointUrl}/v0${path}${query}`;
+ const url = `${this._apiEndpointUrl}${path}${query}`;
const headers = new Headers({
'content-type': 'application/json',
});