Skip to content

Commit 538a696

Browse files
committed
fixup
1 parent 0e5bd42 commit 538a696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libV2/warp10.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Warp10Client {
1919
this._connectTimeout = (config && config.connectTimeout) || 30000;
2020
const host = (config && config.host) || 'localhost';
2121
const port = (config && config.port) || 4802;
22-
this._client = new Warp10(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
22+
this._client = new Warp10().endpoint(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
2323
}
2424

2525
async update(payload) {

0 commit comments

Comments
 (0)