diff options
Diffstat (limited to 'routes/api')
-rw-r--r-- | routes/api/v1/index.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/routes/api/v1/index.js b/routes/api/v1/index.js index 9a4ec8438..f5504ad85 100644 --- a/routes/api/v1/index.js +++ b/routes/api/v1/index.js | |||
@@ -1,10 +1,12 @@ | |||
1 | ;(function () { | 1 | ;(function () { |
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var api = {} | 4 | var express = require('express') |
5 | api.videos = require('./videos') | 5 | var router = express.Router() |
6 | api.remoteVideos = require('./remoteVideos') | ||
7 | api.pods = require('./pods') | ||
8 | 6 | ||
9 | module.exports = api | 7 | router.use('/videos', require('./videos')) |
8 | router.use('/remotevideos', require('./remoteVideos')) | ||
9 | router.use('/pods', require('./pods')) | ||
10 | |||
11 | module.exports = router | ||
10 | })() | 12 | })() |