1
0

bugfix pings

This commit is contained in:
Antonio 2023-04-11 12:19:47 +08:00
parent 53dae12b33
commit eb4044a90f

View File

@ -166,7 +166,7 @@ func nightmare(c *gin.Context) {
// Stream the response to the client
response_string, err := json.Marshal(translated_response)
if err != nil {
return
continue
}
if original_request.Stream {
_, err = c.Writer.WriteString("data: " + string(response_string) + "\n\n")