PeerTube/server/middlewares/index.js
2016-03-16 22:29:27 +01:00

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