Browse Source

Show contents of manifest file when cm=false is passed

pull/471/head
Stepan Bujnak 8 years ago
parent
commit
14ec3bfc1d
  1. 2
      weed/server/volume_server_handlers_read.go

2
weed/server/volume_server_handlers_read.go

@ -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
}

Loading…
Cancel
Save