diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-08-05 16:09:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-08-05 16:09:39 +0200 |
commit | 6606150c49f587bc7eb0ecec4263ce7fbb18bf15 (patch) | |
tree | 6e0c13983e667e08dcc1dfb6fcda1524b6920c6a /server/controllers/api/v1/index.js | |
parent | 9bd2662976a75d3b03364cdbe6419e57c80f99a6 (diff) | |
download | PeerTube-6606150c49f587bc7eb0ecec4263ce7fbb18bf15.tar.gz PeerTube-6606150c49f587bc7eb0ecec4263ce7fbb18bf15.tar.zst PeerTube-6606150c49f587bc7eb0ecec4263ce7fbb18bf15.zip |
Server: move clients in its own file
Diffstat (limited to 'server/controllers/api/v1/index.js')
-rw-r--r-- | server/controllers/api/v1/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/v1/index.js b/server/controllers/api/v1/index.js index e0c29a8a2..af41bc280 100644 --- a/server/controllers/api/v1/index.js +++ b/server/controllers/api/v1/index.js | |||
@@ -4,11 +4,13 @@ const express = require('express') | |||
4 | 4 | ||
5 | const router = express.Router() | 5 | const router = express.Router() |
6 | 6 | ||
7 | const clientsController = require('./clients') | ||
7 | const podsController = require('./pods') | 8 | const podsController = require('./pods') |
8 | const remoteController = require('./remote') | 9 | const remoteController = require('./remote') |
9 | const usersController = require('./users') | 10 | const usersController = require('./users') |
10 | const videosController = require('./videos') | 11 | const videosController = require('./videos') |
11 | 12 | ||
13 | router.use('/clients', clientsController) | ||
12 | router.use('/pods', podsController) | 14 | router.use('/pods', podsController) |
13 | router.use('/remote', remoteController) | 15 | router.use('/remote', remoteController) |
14 | router.use('/users', usersController) | 16 | router.use('/users', usersController) |