You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
454 B

import { CSV_PATH } from '../config';
import { router as tasksRouter } from '../routes/tasks';
import { router as statusRouter } from '../routes/status';
import { router as connectRouter } from '../routes/connect';
import * as express from 'express';
export const router = express.Router();
router.use('/status', statusRouter);
router.use('/connect', connectRouter);
router.use('/task', tasksRouter);
router.use('/static', express.static(CSV_PATH));