diff options
Diffstat (limited to 'server/controllers/api/v1/index.js')
-rw-r--r-- | server/controllers/api/v1/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/controllers/api/v1/index.js b/server/controllers/api/v1/index.js index e0c29a8a2..2e4fb2dab 100644 --- a/server/controllers/api/v1/index.js +++ b/server/controllers/api/v1/index.js | |||
@@ -4,13 +4,17 @@ 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') |
10 | const requestsController = require('./requests') | ||
9 | const usersController = require('./users') | 11 | const usersController = require('./users') |
10 | const videosController = require('./videos') | 12 | const videosController = require('./videos') |
11 | 13 | ||
14 | router.use('/clients', clientsController) | ||
12 | router.use('/pods', podsController) | 15 | router.use('/pods', podsController) |
13 | router.use('/remote', remoteController) | 16 | router.use('/remote', remoteController) |
17 | router.use('/requests', requestsController) | ||
14 | router.use('/users', usersController) | 18 | router.use('/users', usersController) |
15 | router.use('/videos', videosController) | 19 | router.use('/videos', videosController) |
16 | router.use('/*', badRequest) | 20 | router.use('/*', badRequest) |