From 38fe057b6b9284807a0af7e3d898593e4be616f8 Mon Sep 17 00:00:00 2001 From: "Aaron C. de Bruyn" Date: Tue, 23 May 2017 16:42:24 -0700 Subject: [PATCH] Fix log line messed up by rebase --- 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 7fc69f5..342bbc2 100755 --- a/other/js/websockify.js +++ b/other/js/websockify.js @@ -30,7 +30,7 @@ new_client = function(client, req) { var clientAddr = client._socket.remoteAddress, log; var start_time = new Date().getTime(); - console.log(client.upgradeReq.url); + console.log(req ? req.url : client.upgradeReq.url); log = function (msg) { console.log(' ' + clientAddr + ': '+ msg); };