2022-09-27 23:38:40 +02:00
|
|
|
import express from "express"
|
2022-09-29 00:05:53 +02:00
|
|
|
import configRouter from "./config.js";
|
2022-09-27 23:38:40 +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";
|
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);
|
2022-10-13 17:11:55 +02:00
|
|
|
router.use("/messages", messageRouter)
|
2022-09-27 23:38:40 +02:00
|
|
|
|
|
|
|
export default router;
|