mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-23 01:32:58 +01:00
13 lines
219 B
TypeScript
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
|