mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 16:37:04 +08:00
Move content encoding in the beginning of the middleware chain, update dependencies
This commit is contained in:
@@ -15,7 +15,7 @@ func NewZstd(level Level) Compression {
|
||||
zstdLevel := zstd.SpeedDefault
|
||||
if level == BestCompression {
|
||||
zstdLevel = zstd.SpeedBestCompression
|
||||
} else {
|
||||
} else if level == BestSpeed {
|
||||
zstdLevel = zstd.SpeedFastest
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user