Restore terminal log event stream

This commit is contained in:
npc0-hue
2026-08-10 23:55:23 +08:00
parent 0154f42485
commit eb3c708697
6 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const (
logEventHeartbeatInterval = 15 * time.Second
)
// serverLogEvents is kept as legacy service plumbing but is not registered as a browser product route.
// serverLogEvents streams platform-accepted server log history and live append events for the terminal drawer.
func (h *coreHandlers) serverLogEvents(w http.ResponseWriter, r *http.Request) {
if r.Method != http.MethodGet {
writeMethodNotAllowed(w, http.MethodGet)