aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/index.ts')
-rw-r--r--server/controllers/api/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts
index e928a7478..8a58b5466 100644
--- a/server/controllers/api/index.ts
+++ b/server/controllers/api/index.ts
@@ -10,6 +10,7 @@ import { badRequest } from '../../helpers/express-utils'
10import { videoChannelRouter } from './video-channel' 10import { videoChannelRouter } from './video-channel'
11import * as cors from 'cors' 11import * as cors from 'cors'
12import { searchRouter } from './search' 12import { searchRouter } from './search'
13import { overviewsRouter } from './overviews'
13 14
14const apiRouter = express.Router() 15const apiRouter = express.Router()
15 16
@@ -28,6 +29,7 @@ apiRouter.use('/video-channels', videoChannelRouter)
28apiRouter.use('/videos', videosRouter) 29apiRouter.use('/videos', videosRouter)
29apiRouter.use('/jobs', jobsRouter) 30apiRouter.use('/jobs', jobsRouter)
30apiRouter.use('/search', searchRouter) 31apiRouter.use('/search', searchRouter)
32apiRouter.use('/overviews', overviewsRouter)
31apiRouter.use('/ping', pong) 33apiRouter.use('/ping', pong)
32apiRouter.use('/*', badRequest) 34apiRouter.use('/*', badRequest)
33 35