summaryrefslogtreecommitdiff
path: root/src/node/hooks/express/socketio.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2014-11-04 23:25:18 +0000
committerJohn McLear <john@mclear.co.uk>2014-11-04 23:25:18 +0000
commit9fa77cdea251b5e32a351298bbe97a88abec3e56 (patch)
tree5fc0bc27b36535f4a10ae29da50f6ab1378f46ea /src/node/hooks/express/socketio.js
parentf418dfa2053c4b40bd46d586b960a2de8167388c (diff)
downloadetherpad-lite-9fa77cdea251b5e32a351298bbe97a88abec3e56.zip
working handling of setting client ip and anonymizing etc
Diffstat (limited to 'src/node/hooks/express/socketio.js')
-rw-r--r--src/node/hooks/express/socketio.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/node/hooks/express/socketio.js b/src/node/hooks/express/socketio.js
index 98146bbb..e88a3f4c 100644
--- a/src/node/hooks/express/socketio.js
+++ b/src/node/hooks/express/socketio.js
@@ -51,9 +51,11 @@ exports.expressCreateServer = function (hook_name, args, cb) {
// This debug logging environment is set in Settings.js
//minify socket.io javascript
- if(settings.minify)
- // io.enable('browser client minification');
-
+ // Due to a shitty decision by the SocketIO team minification is
+ // no longer available, details available at:
+ // http://stackoverflow.com/questions/23981741/minify-socket-io-socket-io-js-with-1-0
+ // if(settings.minify) io.enable('browser client minification');
+
//Initalize the Socket.IO Router
socketIORouter.setSocketIO(io);
socketIORouter.addComponent("pad", padMessageHandler);