diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-19 18:56:10 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-19 18:56:10 +0100 |
commit | 34831b4843c161248109fb10876c1600578491de (patch) | |
tree | db478bf3819c844a6b54da5b031a27b74f20aeeb /server/controllers/api/remote/index.js | |
parent | f148e5edb62c914eff12d7d4a5f879fedcfc64be (diff) | |
download | PeerTube-34831b4843c161248109fb10876c1600578491de.tar.gz PeerTube-34831b4843c161248109fb10876c1600578491de.tar.zst PeerTube-34831b4843c161248109fb10876c1600578491de.zip |
Server: move pod remove to remote path
Diffstat (limited to 'server/controllers/api/remote/index.js')
-rw-r--r-- | server/controllers/api/remote/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/remote/index.js b/server/controllers/api/remote/index.js index 2947632d5..6106850ab 100644 --- a/server/controllers/api/remote/index.js +++ b/server/controllers/api/remote/index.js | |||
@@ -6,8 +6,10 @@ const utils = require('../../../helpers/utils') | |||
6 | 6 | ||
7 | const router = express.Router() | 7 | const router = express.Router() |
8 | 8 | ||
9 | const podsRemoteController = require('./pods') | ||
9 | const videosRemoteController = require('./videos') | 10 | const videosRemoteController = require('./videos') |
10 | 11 | ||
12 | router.use('/pods', podsRemoteController) | ||
11 | router.use('/videos', videosRemoteController) | 13 | router.use('/videos', videosRemoteController) |
12 | router.use('/*', utils.badRequest) | 14 | router.use('/*', utils.badRequest) |
13 | 15 | ||