Skip to content

Commit

Permalink
Heroku does not support websockets :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Canassa committed Aug 8, 2012
1 parent 3df69ec commit aa50ef8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ var io = socketIo.listen(app);
io.configure('production', function() {
io.enable('browser client etag');
io.set('log level', 1);
io.set("transports", ["xhr-polling"]);
io.set("polling duration", 10);
});

io.configure('development', function() {
Expand Down

0 comments on commit aa50ef8

Please sign in to comment.