PeerTube/server/middlewares/index.js

16 lines
391 B
JavaScript

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