hassio-nextcloud-backup/nextcloud_backup/backend/src/routes/apiV2.ts

19 lines
574 B
TypeScript

import express from "express";
import configRouter from "./config.js";
import homeAssistant from "./homeAssistant.js";
import messageRouter from "./messages.js";
import webdavRouter from "./webdav.js";
import statusRouter from "./status.js";
import actionRouter from "./action.js";
const router = express.Router();
router.use("/homeAssistant", homeAssistant);
router.use("/config", configRouter);
router.use("/webdav", webdavRouter);
router.use("/messages", messageRouter);
router.use("/status", statusRouter);
router.use("/action", actionRouter);
export default router;