moved ip log to api

This commit is contained in:
Baris Soner Usakli
2014-02-28 16:50:39 -05:00
parent 9069f9aedc
commit 7081c7dcc4
2 changed files with 3 additions and 3 deletions

View File

@@ -289,9 +289,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();
});