Skip to content

Commit 0b95761

Browse files
Fix .mp4 detection to video/mp4
1 parent 8eb268d commit 0b95761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Basics/CoreExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public static bool HasType(this IRequest request, params RequestMethod[] methods
114114
{ "mk3d", ContentType.VideoMatroska3D },
115115
{ "mj2", ContentType.VideoMJ2 },
116116
{ "mpg", ContentType.VideoMpeg },
117-
{ "mp4", ContentType.AudioMp4 },
117+
{ "mp4", ContentType.VideoMP4 },
118118
{ "mpeg", ContentType.VideoMpeg },
119119
{ "mpv", ContentType.VideoMpv },
120120
{ "mov", ContentType.VideoQuicktime },

0 commit comments

Comments
 (0)