mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-23 01:32:58 +01:00
11 lines
240 B
TypeScript
11 lines
240 B
TypeScript
|
import express from "express";
|
||
|
import messageManager from "../tools/messageManager.js";
|
||
|
|
||
|
const messageRouter = express.Router();
|
||
|
|
||
|
messageRouter.get('/', (req, res, next)=>{
|
||
|
res.json(messageManager.get())
|
||
|
})
|
||
|
|
||
|
export default messageRouter;
|