1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2025-06-30 08:42:47 +02:00

Compare commits

..

No commits in common. "02e8f00138bf0c1199d68eddf1772f233f7c5d0a" and "570d2eccec32d3ec9dfc63ec1688bff27eb7d9e1" have entirely different histories.

View file

@ -142,9 +142,6 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
if rangeReq := r.Header.Get("Range"); rangeReq == "" {
ext := filepath.Ext(filename)
if len(ext) > 0 {
ext = strings.ToLower(ext)
}
width, height, mode, shouldResize := shouldResizeImages(ext, r)
if shouldResize {
data, err := filer.ReadAll(fs.filer.MasterClient, entry.Chunks)