*http listen doesnt exist in browser
This commit is contained in:
parent
7ff1b34212
commit
7730595b48
|
@ -68,8 +68,11 @@ export default class HandshakeProxy extends Proxy {
|
|||
createSocket,
|
||||
});
|
||||
|
||||
if(this?._node?.http?.http?.listen){
|
||||
this._node.http.http.listen = (port: number, host: string, cb: Function) =>
|
||||
cb();
|
||||
}
|
||||
|
||||
|
||||
await this._node.open();
|
||||
this._node.pool.connected = true;
|
||||
|
|
Loading…
Reference in New Issue