aboutsummaryrefslogtreecommitdiffhomepage
path: root/middlewares/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'middlewares/index.js')
-rw-r--r--middlewares/index.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/middlewares/index.js b/middlewares/index.js
index c76c4fc2e..c85899b0c 100644
--- a/middlewares/index.js
+++ b/middlewares/index.js
@@ -1,9 +1,13 @@
1'use strict' 1'use strict'
2 2
3var cacheMiddleware = require('./cache')
4var reqValidatorsMiddleware = require('./reqValidators')
5var secureMiddleware = require('./secure')
6
3var middlewares = { 7var middlewares = {
4 cache: require('./cache'), 8 cache: cacheMiddleware,
5 reqValidators: require('./reqValidators'), 9 reqValidators: reqValidatorsMiddleware,
6 secure: require('./secure') 10 secure: secureMiddleware
7} 11}
8 12
9// --------------------------------------------------------------------------- 13// ---------------------------------------------------------------------------