mirror of https://github.com/Chocobozzz/PeerTube
16 lines
383 B
JavaScript
16 lines
383 B
JavaScript
'use strict'
|
|
|
|
var cacheMiddleware = require('./cache')
|
|
var reqValidatorsMiddleware = require('./reqValidators')
|
|
var secureMiddleware = require('./secure')
|
|
|
|
var middlewares = {
|
|
cache: cacheMiddleware,
|
|
reqValidators: reqValidatorsMiddleware,
|
|
secure: secureMiddleware
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
module.exports = middlewares
|