hassio-nextcloud-backup/nextcloud_backup/backend/src/routes/status.ts
2024-08-13 16:43:06 +02:00

13 lines
219 B
TypeScript

import express from "express";
import { getStatus } from "../tools/status.js";
const statusRouter = express.Router();
statusRouter.get('/', (req, res) => {
res.json(getStatus());
})
export default statusRouter