*Update dist

This commit is contained in:
Derrick Hammer 2023-02-01 12:57:30 -05:00
parent 7730595b48
commit a24a0414ce
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

2
dist/index.js vendored
View File

@ -55,7 +55,9 @@ class HandshakeProxy extends libhyperproxy_1.Proxy {
createServer: libhyperproxy_1.createServer, createServer: libhyperproxy_1.createServer,
createSocket: libhyperproxy_1.createSocket, createSocket: libhyperproxy_1.createSocket,
}); });
if (this?._node?.http?.http?.listen) {
this._node.http.http.listen = (port, host, cb) => cb(); this._node.http.http.listen = (port, host, cb) => cb();
}
await this._node.open(); await this._node.open();
this._node.pool.connected = true; this._node.pool.connected = true;
this._node.startSync(); this._node.startSync();