feat: Add real-time log streaming with a new backend SSE endpoint and a corresponding frontend component.

This commit is contained in:
2026-01-31 03:34:55 +08:00
parent a3491ab279
commit 05580bd025
2 changed files with 35 additions and 9 deletions

View File

@@ -273,7 +273,7 @@ func handleConfig(w http.ResponseWriter, r *http.Request) {
}
func handleGetLogs(w http.ResponseWriter, r *http.Request) {
logs := logger.GetLogs(100)
logs := logger.GetLogs(200)
api.Success(w, logs)
}