This commit is contained in:
2025-09-28 14:19:49 +08:00
parent 484ce85e65
commit ce3903882d

View File

@@ -144,6 +144,9 @@ func main() {
c.JSON(http.StatusInternalServerError, gin.H{"error": "streaming not supported"})
return
}
if flusher, ok := c.Writer.(http.Flusher); ok {
flusher.Flush()
}
c.Status(http.StatusOK)