Permalink
Browse files

Added more logging.

  • Loading branch information...
1 parent 34eecd2 commit 9cdf29f9f3efc0abfc1ca6c60300d76b8211f2b8 @niczak committed Feb 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 hello.js
View
3 hello.js
@@ -4,7 +4,8 @@ var app = express.createServer(express.logger());
app.get('/', function(request, response)
{
- response.send('Hello World from Nick and Philip via Node.js!');
+ console.log("Request received...\n")
+ response.send('Hello World via Node.js and Express!');
});
var port = process.env.PORT || 3000;

0 comments on commit 9cdf29f

Please sign in to comment.