revert webp support due to "go test"

related to https://github.com/chai2010/webp/issues/9
This commit is contained in:
Chris Lu
2017-05-28 10:25:40 -07:00
parent 48919009fc
commit 83efe1547d
3 changed files with 2 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
}
}
}
if ext == ".png" || ext == ".jpg" || ext == ".gif"|| ext == ".webp" {
if ext == ".png" || ext == ".jpg" || ext == ".gif" {
width, height := 0, 0
if r.FormValue("width") != "" {
width, _ = strconv.Atoi(r.FormValue("width"))