diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 14:23:50 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 14:23:50 +0200 |
commit | 1ab844d8593fa84dfe65cad6b5bbf0e45efd7886 (patch) | |
tree | 2687c7f66caff9ed57b4adde2e6ae804016295d3 /server/middlewares/index.js | |
parent | 825a5d9c5e6d8cbe005b44499aba4ce4ba069fe3 (diff) | |
download | PeerTube-1ab844d8593fa84dfe65cad6b5bbf0e45efd7886.tar.gz PeerTube-1ab844d8593fa84dfe65cad6b5bbf0e45efd7886.tar.zst PeerTube-1ab844d8593fa84dfe65cad6b5bbf0e45efd7886.zip |
Server: add port when making friends if it is not specified
Diffstat (limited to 'server/middlewares/index.js')
-rw-r--r-- | server/middlewares/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/middlewares/index.js b/server/middlewares/index.js index 1e294de5f..3f253e31b 100644 --- a/server/middlewares/index.js +++ b/server/middlewares/index.js | |||
@@ -3,6 +3,7 @@ | |||
3 | const adminMiddleware = require('./admin') | 3 | const adminMiddleware = require('./admin') |
4 | const oauthMiddleware = require('./oauth') | 4 | const oauthMiddleware = require('./oauth') |
5 | const paginationMiddleware = require('./pagination') | 5 | const paginationMiddleware = require('./pagination') |
6 | const podsMiddleware = require('./pods') | ||
6 | const validatorsMiddleware = require('./validators') | 7 | const validatorsMiddleware = require('./validators') |
7 | const searchMiddleware = require('./search') | 8 | const searchMiddleware = require('./search') |
8 | const sortMiddleware = require('./sort') | 9 | const sortMiddleware = require('./sort') |
@@ -12,6 +13,7 @@ const middlewares = { | |||
12 | admin: adminMiddleware, | 13 | admin: adminMiddleware, |
13 | oauth: oauthMiddleware, | 14 | oauth: oauthMiddleware, |
14 | pagination: paginationMiddleware, | 15 | pagination: paginationMiddleware, |
16 | pods: podsMiddleware, | ||
15 | search: searchMiddleware, | 17 | search: searchMiddleware, |
16 | secure: secureMiddleware, | 18 | secure: secureMiddleware, |
17 | sort: sortMiddleware, | 19 | sort: sortMiddleware, |