Permalink
Browse files

disable socket.io production optimizations: need fix

  • Loading branch information...
1 parent f70292b commit 78c3e00a743adeb708bd479ea7ad496b10a4eac7 @daraosn committed May 24, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −0 lib/routes.js
  2. +3 −2 lib/socket.js
View
@@ -82,6 +82,7 @@ app.post('/example/auth', function(req, res) {
// note: if not using json, you must provide header 'content-type: application/x-www-form-urlencoded'
require('request').post({
+ // TODO: Fix this
url: "http://localhost:"+mustekala.config.port+'/mustekala/authenticate'
, headers: {'content-type': 'application/x-www-form-urlencoded'}
, body: require('qs').stringify(body)
View
@@ -3,8 +3,9 @@ io.configure('development', function(){
io.set('transports', ['websocket']);
});
io.configure('production', function(){
- io.enable('browser client minification');
- io.enable('browser client etag');
+ // TODO: Fix this (non-responsive mustekala.js)
+ // io.enable('browser client minification');
+ // io.enable('browser client etag');
io.set('log level', 1);
if(!mustekala.config.socketIO || !mustekala.config.socketIO.transports) {
io.set('transports', ['websocket','flashsocket','htmlfile','xhr-polling','jsonp-polling']);

0 comments on commit 78c3e00

Please sign in to comment.