We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5bd42 commit 538a696Copy full SHA for 538a696
libV2/warp10.js
@@ -19,7 +19,7 @@ class Warp10Client {
19
this._connectTimeout = (config && config.connectTimeout) || 30000;
20
const host = (config && config.host) || 'localhost';
21
const port = (config && config.port) || 4802;
22
- this._client = new Warp10(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
+ this._client = new Warp10().endpoint(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
23
}
24
25
async update(payload) {
0 commit comments