Merge remote-tracking branch 'origin/master' into webserver.js-refactor

This commit is contained in:
psychobunny
2014-03-01 15:37:57 -05:00
12 changed files with 106 additions and 38 deletions

View File

@@ -392,9 +392,6 @@ process.on('uncaughtException', function(err) {
// Disable framing
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
// Log IP address
db.sortedSetAdd('ip:recent', +new Date(), req.ip || 'Unknown');
next();
});