mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
parent
ef94ff6837
commit
a26a37dfa3
|
@ -147,7 +147,7 @@ func IsZstdContent(data []byte) bool {
|
||||||
if strings.HasSuffix(mtype, "script") {
|
if strings.HasSuffix(mtype, "script") {
|
||||||
return true, true
|
return true, true
|
||||||
}
|
}
|
||||||
if strings.HasSuffix(mtype, "vnd.rar) {
|
if strings.HasSuffix(mtype, "vnd.rar") {
|
||||||
return false, true
|
return false, true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue