mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix several typypos and a missing dep
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user