19 lines
459 B
JavaScript
19 lines
459 B
JavaScript
'use strict'
|
|
|
|
const express = require('express')
|
|
|
|
const utils = require('../../../helpers/utils')
|
|
|
|
const router = express.Router()
|
|
|
|
const podsRemoteController = require('./pods')
|
|
const videosRemoteController = require('./videos')
|
|
|
|
router.use('/pods', podsRemoteController)
|
|
router.use('/videos', videosRemoteController)
|
|
router.use('/*', utils.badRequest)
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
module.exports = router
|