diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-10 16:59:53 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | ad91e7006e41f8ee5b8dcefee30f99e8ca44133a (patch) | |
tree | d860f20e05b036fa1a96e049c74deffd7f5d2b00 /server/controllers/api/index.ts | |
parent | ffb321bedca46d6987c7b31dd58e5dea96ea2ea2 (diff) | |
download | PeerTube-ad91e7006e41f8ee5b8dcefee30f99e8ca44133a.tar.gz PeerTube-ad91e7006e41f8ee5b8dcefee30f99e8ca44133a.tar.zst PeerTube-ad91e7006e41f8ee5b8dcefee30f99e8ca44133a.zip |
WIP plugins: plugin settings on server side
Diffstat (limited to 'server/controllers/api/index.ts')
-rw-r--r-- | server/controllers/api/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts index ea2615e28..0876283a2 100644 --- a/server/controllers/api/index.ts +++ b/server/controllers/api/index.ts | |||
@@ -14,6 +14,7 @@ import { searchRouter } from './search' | |||
14 | import { overviewsRouter } from './overviews' | 14 | import { overviewsRouter } from './overviews' |
15 | import { videoPlaylistRouter } from './video-playlist' | 15 | import { videoPlaylistRouter } from './video-playlist' |
16 | import { CONFIG } from '../../initializers/config' | 16 | import { CONFIG } from '../../initializers/config' |
17 | import { pluginsRouter } from '../plugins' | ||
17 | 18 | ||
18 | const apiRouter = express.Router() | 19 | const apiRouter = express.Router() |
19 | 20 | ||
@@ -42,6 +43,7 @@ apiRouter.use('/videos', videosRouter) | |||
42 | apiRouter.use('/jobs', jobsRouter) | 43 | apiRouter.use('/jobs', jobsRouter) |
43 | apiRouter.use('/search', searchRouter) | 44 | apiRouter.use('/search', searchRouter) |
44 | apiRouter.use('/overviews', overviewsRouter) | 45 | apiRouter.use('/overviews', overviewsRouter) |
46 | apiRouter.use('/plugins', pluginsRouter) | ||
45 | apiRouter.use('/ping', pong) | 47 | apiRouter.use('/ping', pong) |
46 | apiRouter.use('/*', badRequest) | 48 | apiRouter.use('/*', badRequest) |
47 | 49 | ||