2024-04-19 16:22:30 +02:00
|
|
|
import express from "express";
|
2022-09-29 00:05:53 +02:00
|
|
|
import configRouter from "./config.js";
|
2024-04-19 16:22:30 +02:00
|
|
|
import homeAssistant from "./homeAssistant.js";
|
2022-10-13 17:11:55 +02:00
|
|
|
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";
|
2024-04-19 16:22:30 +02:00
|
|
|
import actionRouter from "./action.js";
|
2022-09-27 23:38:40 +02:00
|
|
|
|
|
|
|
const router = express.Router();
|
|
|
|
|
2024-04-19 16:22:30 +02:00
|
|
|
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);
|
2024-04-19 16:22:30 +02:00
|
|
|
router.use("/status", statusRouter);
|
|
|
|
router.use("/action", actionRouter);
|
2022-09-27 23:38:40 +02:00
|
|
|
|
2024-04-19 16:22:30 +02:00
|
|
|
export default router;
|