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

19 lines
574 B
TypeScript
Raw Normal View History

import express from "express";
2022-09-29 00:05:53 +02:00
import configRouter from "./config.js";
import homeAssistant from "./homeAssistant.js";
import messageRouter from "./messages.js";
2022-09-30 23:52:27 +02:00
import webdavRouter from "./webdav.js";
2024-04-18 10:47:21 +02:00
import statusRouter from "./status.js";
import actionRouter from "./action.js";
2022-09-27 23:38:40 +02:00
const router = express.Router();
router.use("/homeAssistant", homeAssistant);
2022-09-29 00:05:53 +02:00
router.use("/config", configRouter);
2022-09-30 23:52:27 +02:00
router.use("/webdav", webdavRouter);
2024-04-18 10:47:21 +02:00
router.use("/messages", messageRouter);
router.use("/status", statusRouter);
router.use("/action", actionRouter);
2022-09-27 23:38:40 +02:00
export default router;