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

15 lines
416 B
TypeScript
Raw Normal View History

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"
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);
router.use("/messages", messageRouter)
2022-09-27 23:38:40 +02:00
export default router;