Permalink
Browse files

Changed the port number to use in process and pinned express version

  • Loading branch information...
1 parent 1a90e62 commit fcb41c9a04a761276917a94f1956ba4c43892dcc colinw committed Jul 19, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 app.js
  2. +1 −1 package.json
  3. +0 −1 public/bootstrap
View
2 app.js
@@ -48,5 +48,5 @@ app.get('/blog', function(req, res){
displayPage( res, "blog", "/blog" );
});
-app.listen(3000);
+app.listen(process.env.PORT || 3000);
console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);
View
@@ -3,7 +3,7 @@
, "version": "0.0.1"
, "private": true
, "dependencies": {
- "express": "> 2.4.3"
+ "express": "= 2.5.11"
, "less": ">= 0.0.1"
, "jade": ">= 0.0.1"
, "less-middleware": "0.1.4"
View

0 comments on commit fcb41c9

Please sign in to comment.