This commit is contained in:
2011-12-25 01:44:56 +00:00
parent ec50fb6c8e
commit bc9795fc47
2 changed files with 3 additions and 1 deletions

3
app.js
View File

@@ -24,7 +24,8 @@
app.configure('production', function() {
app.use(express.errorHandler);
return app.use(function(req, res, next) {
return console.log("Hostname: %s", req.header('Host'));
console.log("Hostname: %s", req.header('Host'));
return next();
});
});