From 0c9668f77901e7540e2c7045eb0f2974a4842a69 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Apr 2023 14:55:10 +0200 Subject: Implement remote runner jobs in server Move ffmpeg functions to @shared --- server/controllers/api/runners/index.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 server/controllers/api/runners/index.ts (limited to 'server/controllers/api/runners/index.ts') diff --git a/server/controllers/api/runners/index.ts b/server/controllers/api/runners/index.ts new file mode 100644 index 000000000..c98ded354 --- /dev/null +++ b/server/controllers/api/runners/index.ts @@ -0,0 +1,18 @@ +import express from 'express' +import { runnerJobsRouter } from './jobs' +import { runnerJobFilesRouter } from './jobs-files' +import { manageRunnersRouter } from './manage-runners' +import { runnerRegistrationTokensRouter } from './registration-tokens' + +const runnersRouter = express.Router() + +runnersRouter.use('/', manageRunnersRouter) +runnersRouter.use('/', runnerJobsRouter) +runnersRouter.use('/', runnerJobFilesRouter) +runnersRouter.use('/', runnerRegistrationTokensRouter) + +// --------------------------------------------------------------------------- + +export { + runnersRouter +} -- cgit v1.2.3