diff --git a/internal/httpapi/server.go b/internal/httpapi/server.go index 5741ca2..a9d3d75 100644 --- a/internal/httpapi/server.go +++ b/internal/httpapi/server.go @@ -464,17 +464,7 @@ func (s *Server) handleInfo(w http.ResponseWriter, r *http.Request) { } // Summarizer simple page placeholder (will reuse existing summarizer flow) -func (s *Server) handleSummarizerUI(w http.ResponseWriter, r *http.Request) { - if s.AuthToken != "" { - if c, err := r.Cookie("auth_token"); err != nil || c.Value != s.AuthToken { - http.Redirect(w, r, "/login", http.StatusFound) - return - } - } - w.Header().Set("Content-Type", "text/html; charset=utf-8") - page := `Summarizer ยท sojuboy

On-demand summarization

` - _, _ = w.Write([]byte(page)) -} +// removed duplicate handleSummarizerUI definition (consolidated earlier) // SSE stream of new messages for a channel func (s *Server) handleStream(w http.ResponseWriter, r *http.Request) {