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.

15 lines
367 B

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