From 64073d4c7efb2f21f66d0fea5083c659a1b0a15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Tue, 15 Sep 2015 10:46:10 +0200 Subject: Augmented the readme with apache directives for proxying websocket directives. --- web/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/main.js') diff --git a/web/main.js b/web/main.js index d2b84af..7f1b2e4 100644 --- a/web/main.js +++ b/web/main.js @@ -195,7 +195,7 @@ server.on('connection', function (socket) { }; socket.on('close', function (reason, description) { // description is optional - logger.debug('GUI socket closed'); + logger.debug('GUI socket closed: ' + reason); if (session.sid !== null) { if (sessions[session.sid] === session) delete sessions[session.sid]; sendDataToPython({'type': 'unregister', 'sid': session.sid}); -- cgit v1.2.1