mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-14 06:36:21 +08:00
compress *.htm file
This commit is contained in:
@@ -19,7 +19,7 @@ func IsGzippable(ext, mtype string) bool {
|
||||
switch ext {
|
||||
case ".zip", ".rar", ".gz", ".bz2", ".xz":
|
||||
return false
|
||||
case ".pdf", ".txt", ".html", ".css", ".js", ".json":
|
||||
case ".pdf", ".txt", ".html", ".htm", ".css", ".js", ".json":
|
||||
return true
|
||||
}
|
||||
if strings.HasPrefix(mtype, "application/") {
|
||||
|
Reference in New Issue
Block a user