2017-06-05 15:53:49 -04:00
|
|
|
import * as express from 'express'
|
2017-05-15 16:22:03 -04:00
|
|
|
|
|
|
|
import { badRequest } from '../../../helpers'
|
|
|
|
|
|
|
|
import { remotePodsRouter } from './pods'
|
|
|
|
import { remoteVideosRouter } from './videos'
|
|
|
|
|
|
|
|
const remoteRouter = express.Router()
|
|
|
|
|
|
|
|
remoteRouter.use('/pods', remotePodsRouter)
|
|
|
|
remoteRouter.use('/videos', remoteVideosRouter)
|
|
|
|
remoteRouter.use('/*', badRequest)
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export {
|
|
|
|
remoteRouter
|
|
|
|
}
|