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