Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Disable websockets since they don't work on Heroku

  • Loading branch information...
commit 4178270a1fd84ba10743975501820acdba643441 1 parent e10f9a5
@drcapulet authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  server.js
View
2  server.js
@@ -58,7 +58,7 @@ server.get('/mobile/*',function(req, response){
var port = process.env.PORT || 8080;
server.listen(port);
//var everyone = nowjs.initialize(server, { socketio: { transports: [] } });
-var everyone = nowjs.initialize(server);
+var everyone = nowjs.initialize(server, { socketio: { transports: ["flashsocket", "htmlfile", "xhr-polling", "jsonp-polling"] } } );
//CHANGE OWNERSHIP
Please sign in to comment.
Something went wrong with that request. Please try again.