aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-01 14:23:50 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-01 14:23:50 +0200
commit1ab844d8593fa84dfe65cad6b5bbf0e45efd7886 (patch)
tree2687c7f66caff9ed57b4adde2e6ae804016295d3 /server/middlewares/index.js
parent825a5d9c5e6d8cbe005b44499aba4ce4ba069fe3 (diff)
downloadPeerTube-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.js2
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 @@
3const adminMiddleware = require('./admin') 3const adminMiddleware = require('./admin')
4const oauthMiddleware = require('./oauth') 4const oauthMiddleware = require('./oauth')
5const paginationMiddleware = require('./pagination') 5const paginationMiddleware = require('./pagination')
6const podsMiddleware = require('./pods')
6const validatorsMiddleware = require('./validators') 7const validatorsMiddleware = require('./validators')
7const searchMiddleware = require('./search') 8const searchMiddleware = require('./search')
8const sortMiddleware = require('./sort') 9const 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,