Implement -audit-read option.

This commit is contained in:
Catherine
2025-12-04 15:25:28 +00:00
parent 8f0712b3ad
commit 4161013fc0
5 changed files with 90 additions and 34 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ func getPage(w http.ResponseWriter, r *http.Request) error {
w.Header().Add("Last-Modified", lastModified)
w.Header().Add("ETag", fmt.Sprintf("\"%s-manifest\"", metadata.ETag))
w.WriteHeader(http.StatusOK)
w.Write([]byte(ManifestDebugJSON(manifest)))
w.Write(ManifestJSON(manifest))
return nil
case metadataPath == "archive.tar" && config.Feature("archive-site"):