update ndjson links due to domain expiry/resale (#24306)

This commit is contained in:
Jamie Finnigan
2024-10-28 02:06:50 -07:00
committed by GitHub
parent 6236f354a5
commit dec1bf51c0
2 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ func (s *HTTPServer) EventStream(resp http.ResponseWriter, req *http.Request) (i
if _, err := io.Copy(output, bytes.NewReader(res.Event.Data)); err != nil {
return CodedError(500, err.Error())
}
// Each entry is its own new line according to ndjson.org
// Each entry is its own new line according to https://github.com/ndjson/ndjson-spec
// append new line to each entry
fmt.Fprint(output, "\n")
}