working handling of setting client ip and anonymizing etc

This commit is contained in:
John McLear 2014-11-04 23:25:18 +00:00
parent f418dfa205
commit 9fa77cdea2
4 changed files with 24 additions and 15 deletions

View file

@ -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);