aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-18 16:13:54 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-18 16:13:54 +0200
commit528a9efa8272532bbd0dafc35c3e05e57c50f61e (patch)
tree62d4417df4ab9b2e53c44dc7271be81b88e4e0e5 /server/controllers/api/v1/index.js
parentb2e4c0ba1a33b8a50491a1f8d111468a7da5640f (diff)
downloadPeerTube-528a9efa8272532bbd0dafc35c3e05e57c50f61e.tar.gz
PeerTube-528a9efa8272532bbd0dafc35c3e05e57c50f61e.tar.zst
PeerTube-528a9efa8272532bbd0dafc35c3e05e57c50f61e.zip
Try to make a better communication (between pods) module
Diffstat (limited to 'server/controllers/api/v1/index.js')
-rw-r--r--server/controllers/api/v1/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/v1/index.js b/server/controllers/api/v1/index.js
index 7b3ec32c0..e0c29a8a2 100644
--- a/server/controllers/api/v1/index.js
+++ b/server/controllers/api/v1/index.js
@@ -5,12 +5,12 @@ const express = require('express')
5const router = express.Router() 5const router = express.Router()
6 6
7const podsController = require('./pods') 7const podsController = require('./pods')
8const remoteVideosController = require('./remoteVideos') 8const remoteController = require('./remote')
9const usersController = require('./users') 9const usersController = require('./users')
10const videosController = require('./videos') 10const videosController = require('./videos')
11 11
12router.use('/pods', podsController) 12router.use('/pods', podsController)
13router.use('/remotevideos', remoteVideosController) 13router.use('/remote', remoteController)
14router.use('/users', usersController) 14router.use('/users', usersController)
15router.use('/videos', videosController) 15router.use('/videos', videosController)
16router.use('/*', badRequest) 16router.use('/*', badRequest)