Let socket.io minify its javascript

pull/55/head
Peter 'Pita' Martischka 2011-07-27 14:46:45 +01:00
parent de5c0741f7
commit f4e04be9da
1 changed files with 4 additions and 0 deletions

View File

@ -267,6 +267,10 @@ async.waterfall([
//reduce the log level //reduce the log level
io.set('log level', 2); io.set('log level', 2);
//minify socket.io javascript
if(settings.minify)
io.enable('browser client minification');
var padMessageHandler = require("./PadMessageHandler"); var padMessageHandler = require("./PadMessageHandler");
var timesliderMessageHandler = require("./TimesliderMessageHandler"); var timesliderMessageHandler = require("./TimesliderMessageHandler");