fix: Sentinel SSE URL — /SenSu/plugin/... → /plugin/... (匹配实际路由)

This commit is contained in:
qinglong
2026-06-13 17:56:57 +08:00
parent b53410bc77
commit a21e092207
5 changed files with 120 additions and 7 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
function connectSSE() {
if (sseConn) { sseConn.close(); sseConn = null; }
sseConn = new EventSource("/SenSu/plugin/sentinel/sse");
sseConn = new EventSource("/plugin/sentinel/sse");
sseConn.addEventListener("nodes_update", function(e){
var d = JSON.parse(e.data);
if (d.nodes) renderNodes(d.nodes);