diff options
author | John McLear <john@mclear.co.uk> | 2014-11-04 23:25:18 +0000 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2014-11-04 23:25:18 +0000 |
commit | 9fa77cdea251b5e32a351298bbe97a88abec3e56 (patch) | |
tree | 5fc0bc27b36535f4a10ae29da50f6ab1378f46ea /src/node/hooks/express/socketio.js | |
parent | f418dfa2053c4b40bd46d586b960a2de8167388c (diff) | |
download | etherpad-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.js | 8 |
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); |