fixed content length

This commit is contained in:
2022-12-07 15:21:34 +01:00
parent 97cf95185b
commit b6407514da

View File

@@ -1102,7 +1102,7 @@ func getSiteMap(c *gin.Context) {
} }
_ = tWriter.Close() _ = tWriter.Close()
}() }()
c.DataFromReader(http.StatusOK, 0, "application/xml", tReader, nil) c.DataFromReader(http.StatusOK, -1, "application/xml", tReader, nil)
} }
/* /*