diff options
author | Chocobozzz <me@florianbigard.com> | 2023-04-21 14:55:10 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | 0c9668f77901e7540e2c7045eb0f2974a4842a69 (patch) | |
tree | 226d3dd1565b0bb56588897af3b8530e6216e96b /server/controllers/api/index.ts | |
parent | 6bcb854cdea8688a32240bc5719c7d139806e00b (diff) | |
download | PeerTube-0c9668f77901e7540e2c7045eb0f2974a4842a69.tar.gz PeerTube-0c9668f77901e7540e2c7045eb0f2974a4842a69.tar.zst PeerTube-0c9668f77901e7540e2c7045eb0f2974a4842a69.zip |
Implement remote runner jobs in server
Move ffmpeg functions to @shared
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 e1d197c8a..646f9597e 100644 --- a/server/controllers/api/index.ts +++ b/server/controllers/api/index.ts | |||
@@ -15,6 +15,7 @@ import { metricsRouter } from './metrics' | |||
15 | import { oauthClientsRouter } from './oauth-clients' | 15 | import { oauthClientsRouter } from './oauth-clients' |
16 | import { overviewsRouter } from './overviews' | 16 | import { overviewsRouter } from './overviews' |
17 | import { pluginRouter } from './plugins' | 17 | import { pluginRouter } from './plugins' |
18 | import { runnersRouter } from './runners' | ||
18 | import { searchRouter } from './search' | 19 | import { searchRouter } from './search' |
19 | import { serverRouter } from './server' | 20 | import { serverRouter } from './server' |
20 | import { usersRouter } from './users' | 21 | import { usersRouter } from './users' |
@@ -55,6 +56,7 @@ apiRouter.use('/overviews', overviewsRouter) | |||
55 | apiRouter.use('/plugins', pluginRouter) | 56 | apiRouter.use('/plugins', pluginRouter) |
56 | apiRouter.use('/custom-pages', customPageRouter) | 57 | apiRouter.use('/custom-pages', customPageRouter) |
57 | apiRouter.use('/blocklist', blocklistRouter) | 58 | apiRouter.use('/blocklist', blocklistRouter) |
59 | apiRouter.use('/runners', runnersRouter) | ||
58 | apiRouter.use('/ping', pong) | 60 | apiRouter.use('/ping', pong) |
59 | apiRouter.use('/*', badRequest) | 61 | apiRouter.use('/*', badRequest) |
60 | 62 | ||