diff --git a/main.go b/main.go index 7844f21..39a2d29 100644 --- a/main.go +++ b/main.go @@ -1102,7 +1102,7 @@ func getSiteMap(c *gin.Context) { } _ = tWriter.Close() }() - c.DataFromReader(http.StatusOK, 0, "application/xml", tReader, nil) + c.DataFromReader(http.StatusOK, -1, "application/xml", tReader, nil) } /*