diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-02-04 21:16:27 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-02-04 21:23:06 +0100 |
commit | a5fa04b0cce851f680a45055f57ed2c3d22f1c82 (patch) | |
tree | 0749c4d6889d7cf250110f9ff59a8cd22ee8a480 /middlewares/index.js | |
parent | c173e56520b0fe4206b9ea8049b6add40bfeabcd (diff) | |
download | PeerTube-a5fa04b0cce851f680a45055f57ed2c3d22f1c82.tar.gz PeerTube-a5fa04b0cce851f680a45055f57ed2c3d22f1c82.tar.zst PeerTube-a5fa04b0cce851f680a45055f57ed2c3d22f1c82.zip |
Split misc middleware
Diffstat (limited to 'middlewares/index.js')
-rw-r--r-- | middlewares/index.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/middlewares/index.js b/middlewares/index.js index 311dfb6d2..bfe325b1e 100644 --- a/middlewares/index.js +++ b/middlewares/index.js | |||
@@ -2,8 +2,9 @@ | |||
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var middlewares = { | 4 | var middlewares = { |
5 | misc: require('./misc'), | 5 | cache: require('./cache'), |
6 | reqValidators: require('./reqValidators') | 6 | reqValidators: require('./reqValidators'), |
7 | secure: require('./secure') | ||
7 | } | 8 | } |
8 | 9 | ||
9 | // --------------------------------------------------------------------------- | 10 | // --------------------------------------------------------------------------- |