aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/search/index.ts
blob: 39efc0b10c0686f58f6bb55b684f30b3bfb5f331 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import 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
}