Browse Source

Merge pull request #471 from stepanbujnak/master

Show contents of manifest file when cm=false is passed
pull/472/head
Chris Lu 8 years ago
committed by GitHub
parent
commit
b095496d30
  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