mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Merge pull request #2031 from tobiasmuehl/patch-1
Do not compress brotli archives
This commit is contained in:
commit
5198c7a7d5
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue