Implement dynamic data range interval and notification panel with redirection highlights

This commit is contained in:
vanne committed 2026-07-01 15:49:36 +07:00
1 parent 6c8874afdc
commit 1d8f8244a6
8 files changed
+359 -17

No files matched your search

+10
View File
@@ -385,4 +385,14 @@ router.get('/security-devices', async (req, res) => {
}
});
// GET /api/dashboard/data-interval
router.get('/data-interval', (req, res) => {
try {
const data = db.getDataInterval();
res.json({ ok: true, data });
} catch (err) {
res.status(500).json({ ok: false, message: err.message });
}
});
module.exports = router;␍