chore: update dependencies and refactor import paths
- Updated package.json with latest dependency versions - Added winston-daily-rotate-file type definitions - Refactored import paths in tools and routes to use .js extensions - Modified SSE routes to use getStatistics method - Improved log rotation utility with more robust file cleanup
This commit is contained in:
@@ -86,7 +86,7 @@ router.get('/subscribe', (req, res) => {
|
||||
// Get SSE stats endpoint
|
||||
router.get('/stats', async (req, res) => {
|
||||
try {
|
||||
const stats = await sseManager.getStats();
|
||||
const stats = await sseManager.getStatistics();
|
||||
res.json(stats);
|
||||
} catch (error) {
|
||||
res.status(500).json({
|
||||
|
||||
Reference in New Issue
Block a user