aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts
index 0876283a2..6138a32de 100644
--- a/server/controllers/api/index.ts
+++ b/server/controllers/api/index.ts
@@ -14,7 +14,7 @@ import { searchRouter } from './search'
14import { overviewsRouter } from './overviews' 14import { overviewsRouter } from './overviews'
15import { videoPlaylistRouter } from './video-playlist' 15import { videoPlaylistRouter } from './video-playlist'
16import { CONFIG } from '../../initializers/config' 16import { CONFIG } from '../../initializers/config'
17import { pluginsRouter } from '../plugins' 17import { pluginRouter } from './plugins'
18 18
19const apiRouter = express.Router() 19const apiRouter = express.Router()
20 20
@@ -43,7 +43,7 @@ apiRouter.use('/videos', videosRouter)
43apiRouter.use('/jobs', jobsRouter) 43apiRouter.use('/jobs', jobsRouter)
44apiRouter.use('/search', searchRouter) 44apiRouter.use('/search', searchRouter)
45apiRouter.use('/overviews', overviewsRouter) 45apiRouter.use('/overviews', overviewsRouter)
46apiRouter.use('/plugins', pluginsRouter) 46apiRouter.use('/plugins', pluginRouter)
47apiRouter.use('/ping', pong) 47apiRouter.use('/ping', pong)
48apiRouter.use('/*', badRequest) 48apiRouter.use('/*', badRequest)
49 49