diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-03-09 00:49:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 00:49:21 +0800 |
commit | 7440b87596bc3925d3b980aef2a9e027936ab441 (patch) | |
tree | 733823e0a7de5ab78ce51758ad64a31ce3b215f6 /packages/connect | |
parent | aaa7affa46450bb48639e9b90c2a2e8adb28826c (diff) | |
parent | 583a17d6279e819ab5e37f330500444881e873d7 (diff) | |
download | dexon-sol-tools-7440b87596bc3925d3b980aef2a9e027936ab441.tar dexon-sol-tools-7440b87596bc3925d3b980aef2a9e027936ab441.tar.gz dexon-sol-tools-7440b87596bc3925d3b980aef2a9e027936ab441.tar.bz2 dexon-sol-tools-7440b87596bc3925d3b980aef2a9e027936ab441.tar.lz dexon-sol-tools-7440b87596bc3925d3b980aef2a9e027936ab441.tar.xz dexon-sol-tools-7440b87596bc3925d3b980aef2a9e027936ab441.tar.zst dexon-sol-tools-7440b87596bc3925d3b980aef2a9e027936ab441.zip |
Merge pull request #412 from 0xProject/feature/sra-reporter
Implement initial sra-report command line tool
Diffstat (limited to 'packages/connect')
-rw-r--r-- | packages/connect/src/http_client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts index cf0aaef0d..a221b54e8 100644 --- a/packages/connect/src/http_client.ts +++ b/packages/connect/src/http_client.ts @@ -61,7 +61,7 @@ export class HttpClient implements Client { * @return An instance of HttpClient */ constructor(url: string) { - assert.isHttpUrl('url', url); + assert.isWebUri('url', url); this._apiEndpointUrl = url.replace(TRAILING_SLASHES_REGEX, ''); // remove trailing slashes } /** |