mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 01:13:11 +08:00
Backend: auth for config and queries. Refactor of middleware exports
This commit is contained in:
8
middleware/index.js
Normal file
8
middleware/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
module.exports = {
|
||||
asyncWrapper: require('./asyncWrapper'),
|
||||
auth: require('./auth'),
|
||||
errorHandler: require('./errorHandler'),
|
||||
upload: require('./multer'),
|
||||
requireAuth: require('./requireAuth'),
|
||||
requireBody: require('./requireBody'),
|
||||
};
|
||||
Reference in New Issue
Block a user