mirror of
https://github.com/dpup/meshstream.git
synced 2026-03-28 17:42:37 +01:00
Fix map view on node details
This commit is contained in:
@@ -155,9 +155,6 @@ func (s *Server) handleStream(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintf(w, "event: padding\ndata: %s\n\n", padding)
|
||||
flusher.Flush()
|
||||
|
||||
// Log that we sent the large initial message
|
||||
logger.Debug("Sent large initial message to force buffer flush")
|
||||
|
||||
// Stream messages to the client
|
||||
for {
|
||||
select {
|
||||
@@ -204,8 +201,6 @@ func (s *Server) handleStream(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
logger.Info("Sending packet to client", "packetID", packet.Data.Id)
|
||||
|
||||
// Send the event
|
||||
fmt.Fprintf(w, "event: message\ndata: %s\n\n", data)
|
||||
flusher.Flush()
|
||||
|
||||
Reference in New Issue
Block a user