mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 01:49:23 +08:00
Do not compress brotli archives
This commit is contained in:
@@ -126,7 +126,7 @@ func IsZstdContent(data []byte) bool {
|
|||||||
|
|
||||||
// by file name extension
|
// by file name extension
|
||||||
switch ext {
|
switch ext {
|
||||||
case ".zip", ".rar", ".gz", ".bz2", ".xz", ".zst":
|
case ".zip", ".rar", ".gz", ".bz2", ".xz", ".zst", ".br":
|
||||||
return false, true
|
return false, true
|
||||||
case ".pdf", ".txt", ".html", ".htm", ".css", ".js", ".json":
|
case ".pdf", ".txt", ".html", ".htm", ".css", ".js", ".json":
|
||||||
return true, true
|
return true, true
|
||||||
|
Reference in New Issue
Block a user