Skip to content

Commit

Permalink
修正大写文件名识别错误
Browse files Browse the repository at this point in the history
  • Loading branch information
fengqi committed Jan 15, 2023
1 parent c6c8c7a commit 738606e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func IsVideo(name string) string {
return ""
}

suffix := split[len(split)-1]
suffix := strings.ToLower(split[len(split)-1])
if _, ok := videoMap[suffix]; ok {
return suffix
}
Expand Down

0 comments on commit 738606e

Please sign in to comment.