Let socket.io minify its javascript
parent
de5c0741f7
commit
f4e04be9da
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue