first commit

This commit is contained in:
2026-08-08 00:15:48 +03:00
parent ac2bc13da0
commit d98b4c1343
146 changed files with 122827 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
const express = require('express');
const router = express.Router(); // Сначала инициализируем router
const logsController = require('../controllers/logsController');
const checkAuth = require('../middleware/checkAuth');
console.log('Imported router:', router.toString());
router.get('/', checkAuth, logsController.getLogs);
router.post('/clear', checkAuth, logsController.clearLogs);
module.exports = router;