aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/remote/index.js
blob: 6106850ab6db70d942c7dc8baf2d0f6d59b76372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'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