Do not compress brotli archives

This commit is contained in:
Tobias Mühl
2021-04-28 15:51:49 +07:00
committed by GitHub
parent ccbe02218a
commit 12a7e87007

View File

@@ -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