diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-18 16:13:54 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-18 16:13:54 +0200 |
commit | 528a9efa8272532bbd0dafc35c3e05e57c50f61e (patch) | |
tree | 62d4417df4ab9b2e53c44dc7271be81b88e4e0e5 /server/controllers/api/v1/index.js | |
parent | b2e4c0ba1a33b8a50491a1f8d111468a7da5640f (diff) | |
download | PeerTube-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.js | 4 |
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') | |||
5 | const router = express.Router() | 5 | const router = express.Router() |
6 | 6 | ||
7 | const podsController = require('./pods') | 7 | const podsController = require('./pods') |
8 | const remoteVideosController = require('./remoteVideos') | 8 | const remoteController = require('./remote') |
9 | const usersController = require('./users') | 9 | const usersController = require('./users') |
10 | const videosController = require('./videos') | 10 | const videosController = require('./videos') |
11 | 11 | ||
12 | router.use('/pods', podsController) | 12 | router.use('/pods', podsController) |
13 | router.use('/remotevideos', remoteVideosController) | 13 | router.use('/remote', remoteController) |
14 | router.use('/users', usersController) | 14 | router.use('/users', usersController) |
15 | router.use('/videos', videosController) | 15 | router.use('/videos', videosController) |
16 | router.use('/*', badRequest) | 16 | router.use('/*', badRequest) |