aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
authorTobias Mühl <tobiasmuehl@users.noreply.github.com>2021-04-28 15:51:49 +0700
committerGitHub <noreply@github.com>2021-04-28 15:51:49 +0700
commit12a7e87007e27c57daaa010c6adece151a346aa4 (patch)
tree2041fdf5fed813d8bd69b04d2cf789d68382e2d3 /weed
parentccbe02218a5cb22fed0fb620ea392180c9155acd (diff)
downloadseaweedfs-12a7e87007e27c57daaa010c6adece151a346aa4.tar.xz
seaweedfs-12a7e87007e27c57daaa010c6adece151a346aa4.zip
Do not compress brotli archives
Diffstat (limited to 'weed')
-rw-r--r--weed/util/compression.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/compression.go b/weed/util/compression.go
index 9d52810cb..759be9bb0 100644
--- a/weed/util/compression.go
+++ b/weed/util/compression.go
@@ -126,7 +126,7 @@ func IsZstdContent(data []byte) bool {
// by file name extension
switch ext {
- case ".zip", ".rar", ".gz", ".bz2", ".xz", ".zst":
+ case ".zip", ".rar", ".gz", ".bz2", ".xz", ".zst", ".br":
return false, true
case ".pdf", ".txt", ".html", ".htm", ".css", ".js", ".json":
return true, true