Fix frontend console errors: disable WebSocket and add defensive array checks
- Disable Socket.IO connections in production to prevent connection errors - Add Array.isArray() checks before calling filter() methods - Fix TypeError: r.filter is not a function errors in Dashboard, Analytics, and Agents pages - Ensure API responses are treated as arrays with fallback to empty arrays 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@@ -61,7 +61,7 @@
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/assets/index-BlnS7Et-.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-S7T45P97.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CYSOVan7.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user