aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-05 16:09:39 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-05 16:09:39 +0200
commit6606150c49f587bc7eb0ecec4263ce7fbb18bf15 (patch)
tree6e0c13983e667e08dcc1dfb6fcda1524b6920c6a /server/controllers/api/v1/index.js
parent9bd2662976a75d3b03364cdbe6419e57c80f99a6 (diff)
downloadPeerTube-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.js2
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
5const router = express.Router() 5const router = express.Router()
6 6
7const clientsController = require('./clients')
7const podsController = require('./pods') 8const podsController = require('./pods')
8const remoteController = require('./remote') 9const remoteController = require('./remote')
9const usersController = require('./users') 10const usersController = require('./users')
10const videosController = require('./videos') 11const videosController = require('./videos')
11 12
13router.use('/clients', clientsController)
12router.use('/pods', podsController) 14router.use('/pods', podsController)
13router.use('/remote', remoteController) 15router.use('/remote', remoteController)
14router.use('/users', usersController) 16router.use('/users', usersController)