aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/index.js')
-rw-r--r--server/middlewares/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/middlewares/index.js b/server/middlewares/index.js
index f0fad3418..35858da2c 100644
--- a/server/middlewares/index.js
+++ b/server/middlewares/index.js
@@ -3,12 +3,14 @@
3const oauth2 = require('./oauth2') 3const oauth2 = require('./oauth2')
4const pagination = require('./pagination') 4const pagination = require('./pagination')
5const reqValidatorsMiddleware = require('./reqValidators') 5const reqValidatorsMiddleware = require('./reqValidators')
6const sort = require('./sort')
6const secureMiddleware = require('./secure') 7const secureMiddleware = require('./secure')
7 8
8const middlewares = { 9const middlewares = {
9 oauth2: oauth2, 10 oauth2: oauth2,
10 pagination: pagination, 11 pagination: pagination,
11 reqValidators: reqValidatorsMiddleware, 12 reqValidators: reqValidatorsMiddleware,
13 sort: sort,
12 secure: secureMiddleware 14 secure: secureMiddleware
13} 15}
14 16