Skip to content

Commit 1a940cd

Browse files
fix "openPort is not defined" error
1 parent 5fae482 commit 1a940cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Proxy.prototype._createHttpsServer = function (options, callback) {
9393
var wssServer = new WebSocket.Server({ server: httpsServer });
9494
wssServer.on('connection', this._onWebSocketServerConnect.bind(this, true));
9595
httpsServer.listen(function() {
96-
if (callback) callback(openPort, httpsServer, wssServer);
96+
if (callback) callback(httpsServer, wssServer);
9797
});
9898
};
9999

0 commit comments

Comments
 (0)