1
0
Fork 0
peertube/server/middlewares/index.js

15 lines
375 B
JavaScript

'use strict'
const oauth2 = require('./oauth2')
const reqValidatorsMiddleware = require('./reqValidators')
const secureMiddleware = require('./secure')
const middlewares = {
oauth2: oauth2,
reqValidators: reqValidatorsMiddleware,
secure: secureMiddleware
}
// ---------------------------------------------------------------------------
module.exports = middlewares