Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use server.js for joyent compatability.

  • Loading branch information...
commit a191e281f6a61d85d06e6a01cb3dcd7e57780810 1 parent 7219c2a
@boucher authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  Procfile
  2. +2 −1  web.js → server.js
View
2  Procfile
@@ -1 +1 @@
-web: node web.js
+web: node server.js
View
3  web.js → server.js
@@ -30,10 +30,11 @@ function chargeServer(client, con) {
});
}
+console.log("Starting on port: "+process.env.PORT)
app.listen(process.env.PORT || 8080);
// then just pass the server app handle to .listen()!
var dnode = require('dnode');
var server = dnode(chargeServer);
-server.listen(app);
+server.listen(app, {io:{transports:['flashsocket']}});
Please sign in to comment.
Something went wrong with that request. Please try again.