Permalink
Browse files

port ready for heroku

  • Loading branch information...
1 parent 379fd4a commit 50489d58386427826ca11cb3efbca9d4b4dbb311 @drewbaumann committed Feb 19, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 app.js
View
3 app.js
@@ -49,6 +49,7 @@ everyauth.helpExpress(app);
app.get('/id', id.id);
+var port = process.env.PORT || 3000;
-app.listen(3000);
+app.listen(port);
console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);

0 comments on commit 50489d5

Please sign in to comment.