mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-26 02:30:37 -06:00
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
|