Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
get rid of some debug logging
  • Loading branch information
lloyd committed Oct 14, 2011
1 parent 2998316 commit 1eafbf3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/main.js
Expand Up @@ -37,7 +37,6 @@ app.use(express.logger({ format: 'dev' }));
// perform redirection
app.use(function(req, resp, next) {
var who = req.headers['host'];
console.log(who);
if (!who) return next();
if (/^(127.0.0.1|localhost)/.test(who)) return next();
if (who === 'mozhacks.org') return next();
Expand Down

0 comments on commit 1eafbf3

Please sign in to comment.