rework
Some checks are pending
CI / check (push) Waiting to run

This commit is contained in:
Bashy 2026-04-26 23:00:55 +03:00
parent c5462e9790
commit f07489750c
65 changed files with 3727 additions and 2607 deletions

11
src/routers/dashboard.js Normal file
View file

@ -0,0 +1,11 @@
const express = require('express');
const router = express.Router();
const db = require('../db');
router.get('/', (req, res) => {
const logs = db.getActivityLog(50);
const settings = db.getSettings();
res.render('dashboard', { logs, settings });
});
module.exports = router;