mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-30 07:49:28 +08:00
Do not compress brotli archives
This commit is contained in:
parent
ccbe02218a
commit
12a7e87007
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user