fix several typypos and a missing dep

This commit is contained in:
Matteo Pagliazzi
2015-08-14 12:00:09 +02:00
parent 47f6f2febe
commit 491652d712
6 changed files with 14 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
var nconf = require('nconf');
var limiter = require('connect-ratelimit');
var IS_PROD = nconf.get('NODE_ENV') === 'production';
@@ -18,4 +19,4 @@ module.exports = function(app) {
if (res.ratelimit.exceeded) return res.json(429,{err:'Rate limit exceeded'});
next();
});
}
};