From 94fba81827cc856f0c1015d5cd2a9458b95985bf Mon Sep 17 00:00:00 2001 From: Sam Frances Date: Fri, 3 Nov 2017 15:21:33 +0000 Subject: [PATCH] Correct typo --- other/js/websockify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/js/websockify.js b/other/js/websockify.js index 405b4e4..6770c3c 100755 --- a/other/js/websockify.js +++ b/other/js/websockify.js @@ -31,7 +31,7 @@ var argv = require('optimist').argv, // Handle new WebSocket client new_client = function(client, req) { var clientAddr = client._socket.remoteAddress, log; - console.log(req ? req.url : client.req.url); + console.log(req ? req.url : client.upgradeReq.url); log = function (msg) { console.log(' ' + clientAddr + ': '+ msg); };