aboutsummaryrefslogtreecommitdiff
path: root/pkg/fileop/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/fileop/file.go')
-rw-r--r--pkg/fileop/file.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/fileop/file.go b/pkg/fileop/file.go
index 10e2202..8999f07 100644
--- a/pkg/fileop/file.go
+++ b/pkg/fileop/file.go
@@ -12,7 +12,8 @@ func GetHashFromPath(path string) string {
}
func IsMimeTypeSupported(mimetype string) bool {
- if mimetype == "image/svg+xml" {
+ if mimetype == "image/svg+xml" ||
+ mimetype == "video/mp2t" {
return false
}
return strings.HasPrefix(mimetype, "video") ||