diff options
Diffstat (limited to 'server/middlewares/index.js')
-rw-r--r-- | server/middlewares/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/middlewares/index.js b/server/middlewares/index.js index c85899b0c..d85f6261c 100644 --- a/server/middlewares/index.js +++ b/server/middlewares/index.js | |||
@@ -1,10 +1,10 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | var cacheMiddleware = require('./cache') | 3 | const cacheMiddleware = require('./cache') |
4 | var reqValidatorsMiddleware = require('./reqValidators') | 4 | const reqValidatorsMiddleware = require('./reqValidators') |
5 | var secureMiddleware = require('./secure') | 5 | const secureMiddleware = require('./secure') |
6 | 6 | ||
7 | var middlewares = { | 7 | const middlewares = { |
8 | cache: cacheMiddleware, | 8 | cache: cacheMiddleware, |
9 | reqValidators: reqValidatorsMiddleware, | 9 | reqValidators: reqValidatorsMiddleware, |
10 | secure: secureMiddleware | 10 | secure: secureMiddleware |