refactor: pass HTTP to integration controller (#652)

* refactor: pass HTTP to integration controller

* refactor: deprecate onair control

* refactor: remove playback router
This commit is contained in:
Carlos Valente
2023-12-19 21:44:43 +01:00
committed by GitHub
parent fe9f12a14b
commit 062dc0c914
14 changed files with 280 additions and 477 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import { ONTIME_VERSION } from './ONTIME_VERSION.js';
import { router as rundownRouter } from './routes/rundownRouter.js';
import { router as projectRouter } from './routes/projectRouter.js';
import { router as ontimeRouter } from './routes/ontimeRouter.js';
import { router as playbackRouter } from './routes/playbackRouter.js';
import { router as apiRouter } from './routes/apiRouter.js';
// Import adapters
import { OscServer } from './adapters/OscAdapter.js';
@@ -61,7 +61,7 @@ app.use(express.json({ limit: '1mb' }));
app.use('/events', rundownRouter);
app.use('/project', projectRouter);
app.use('/ontime', ontimeRouter);
app.use('/playback', playbackRouter);
app.use('/api', apiRouter);
// serve static - css
app.use('/external', express.static(externalsStartDirectory));