fix(internal\komari\ws): add websocket origin header to prevent 403; replace with json-rpc 2.0.

This commit is contained in:
2026-08-05 14:12:16 +08:00
parent 814fbe0dae
commit 6e93a9bd2f
4 changed files with 204 additions and 46 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ func (t *Tracker) UpdateNodeList(nodeNames map[string]string) {
}
}
postLog.Debug(fmt.Sprintf("Node list updated: %d nodes", len(nodeNames)))
// postLog.Debug(fmt.Sprintf("Node list updated: %d nodes", len(nodeNames)))
}
// UpdateStatus processes a WebSocket status update from Komari.