aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/compress.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/operation/compress.go')
-rw-r--r--weed/operation/compress.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/operation/compress.go b/weed/operation/compress.go
index 50958fd50..65979d529 100644
--- a/weed/operation/compress.go
+++ b/weed/operation/compress.go
@@ -38,8 +38,8 @@ func IsGzippable(ext, mtype string, data []byte) bool {
return true
case ".php", ".java", ".go", ".rb", ".c", ".cpp", ".h", ".hpp":
return true
- case ".png", ".jpg", ".jpeg", "":
- return true
+ case ".png", ".jpg", ".jpeg":
+ return false
}
// by mime type