Show contents of manifest file when cm=false is passed

This commit is contained in:
Stepan Bujnak 2017-03-12 18:40:24 -07:00
parent 427c7fbf93
commit 14ec3bfc1d

View file

@ -165,7 +165,7 @@ func (vs *VolumeServer) FaviconHandler(w http.ResponseWriter, r *http.Request) {
}
func (vs *VolumeServer) tryHandleChunkedFile(n *storage.Needle, fileName string, w http.ResponseWriter, r *http.Request) (processed bool) {
if !n.IsChunkedManifest() {
if !n.IsChunkedManifest() || r.URL.Query().Get("cm") == "false" {
return false
}