mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
tweaks eslint rules, fixes gulp-eslint, adds some comments
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
|
||||
let errorHandler = require('./errorHandler');
|
||||
|
||||
module.exports = function (app) {
|
||||
|
||||
module.exports = function attachMiddlewares (app) {
|
||||
// Error handler middleware, define as the last one
|
||||
app.use(errorHandler);
|
||||
};
|
||||
Reference in New Issue
Block a user