From aed4e2792dce92ab411d5e789fda65894457e77c Mon Sep 17 00:00:00 2001 From: Dan Rowe Date: Wed, 27 Nov 2013 15:57:29 -0500 Subject: [PATCH] Minify socket.io js potential solution for issues/569 --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 395416adf6..7507ee4ac1 100644 --- a/app.js +++ b/app.js @@ -85,7 +85,7 @@ var templates = require('./public/src/templates.js'), translator = require('./public/src/translator.js'), webserver = require('./src/webserver.js'), - SocketIO = require('socket.io').listen(global.server, { log: false, transports: ['websocket', 'xhr-polling', 'jsonp-polling', 'flashsocket']}), + SocketIO = require('socket.io').listen(global.server, { log: false, transports: ['websocket', 'xhr-polling', 'jsonp-polling', 'flashsocket'], 'browser client minification': true}), websockets = require('./src/websockets.js'), posts = require('./src/posts.js'), plugins = require('./src/plugins'), // Don't remove this - plugins initializes itself