diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-01-31 11:23:52 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-01-31 11:23:52 +0100 |
commit | c45f7f84001c2731909db04dd82e1c1f290386eb (patch) | |
tree | b7e57420a1f65dfbbacc1a532bf489c9bea6125d /middlewares/index.js | |
parent | cda021079ff455cc0fd0eb95a5395fa808ab63d1 (diff) | |
download | PeerTube-c45f7f84001c2731909db04dd82e1c1f290386eb.tar.gz PeerTube-c45f7f84001c2731909db04dd82e1c1f290386eb.tar.zst PeerTube-c45f7f84001c2731909db04dd82e1c1f290386eb.zip |
Infile code reorganization
Diffstat (limited to 'middlewares/index.js')
-rw-r--r-- | middlewares/index.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/middlewares/index.js b/middlewares/index.js index e727202ba..311dfb6d2 100644 --- a/middlewares/index.js +++ b/middlewares/index.js | |||
@@ -1,10 +1,12 @@ | |||
1 | ;(function () { | 1 | ;(function () { |
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var middleware = { | 4 | var middlewares = { |
5 | reqValidators: require('./reqValidators'), | 5 | misc: require('./misc'), |
6 | misc: require('./misc') | 6 | reqValidators: require('./reqValidators') |
7 | } | 7 | } |
8 | 8 | ||
9 | module.exports = middleware | 9 | // --------------------------------------------------------------------------- |
10 | |||
11 | module.exports = middlewares | ||
10 | })() | 12 | })() |