diff --git a/Modules/Basics/CoreExtensions.cs b/Modules/Basics/CoreExtensions.cs index 83005414..5a9e0d1b 100644 --- a/Modules/Basics/CoreExtensions.cs +++ b/Modules/Basics/CoreExtensions.cs @@ -88,6 +88,7 @@ public static bool HasType(this IRequest request, params RequestMethod[] methods { "woff2", ContentType.FontWoff2 }, // Scripts { "js", ContentType.ApplicationJavaScript }, + { "mjs", ContentType.ApplicationJavaScript }, // Images { "ico", ContentType.ImageIcon }, { "gif", ContentType.ImageGif },