aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/controllers/api/remote/index.ts
blob: b11439204e806e89c7df2b1ac93ddb7714933a77 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                              
import express = require('express')

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
}