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















                                                                              
import * as express from 'express'
import { searchChannelsRouter } from './search-video-channels'
import { searchPlaylistsRouter } from './search-video-playlists'
import { searchVideosRouter } from './search-videos'

const searchRouter = express.Router()

searchRouter.use('/', searchVideosRouter)
searchRouter.use('/', searchChannelsRouter)
searchRouter.use('/', searchPlaylistsRouter)

// ---------------------------------------------------------------------------

export {
  searchRouter
}