Permalink
Browse files

Procfile for Heroku Cedar.

  • Loading branch information...
1 parent b8869ca commit f1ff75ba2c4b25b86cbc37688b4de473b01feeb8 @seven1m committed Sep 13, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 Procfile
  2. +1 −1 server.js
View
@@ -0,0 +1 @@
+web: node server.js
View
@@ -8,7 +8,7 @@ var io = require('socket.io').listen(app);
app.use(express.static(__dirname + '/public'));
-app.listen(8080);
+app.listen(process.env.PORT || 8080);
var messages = [];

0 comments on commit f1ff75b

Please sign in to comment.