aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/controllers/api/remote/index.js
blob: 6106850ab6db70d942c7dc8baf2d0f6d59b76372 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                               
                                              

                                                  
                                         





                                                                              
'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