mirror of https://github.com/Chocobozzz/PeerTube
16 lines
391 B
JavaScript
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
|