diff --git a/src/File/FileValidation.cs b/src/File/FileValidation.cs index de170a4..773b8ce 100644 --- a/src/File/FileValidation.cs +++ b/src/File/FileValidation.cs @@ -11,12 +11,12 @@ public class FileValidation /// /// Allowed file validation default extensions. /// - public static string[] AllowedFileExtsDefault = new string[] { "txt", "pdf", "doc" }; + public static string[] AllowedFileExtsDefault = new string[] { "txt", "pdf", "doc" , "png", "jpg" , "mp4"}; /// /// Allowed file validation default mimetypes. /// - public static string[] AllowedFileMimetypesDefault = new string[] { "text/plain", "application/msword", "application/x-pdf", "application/pdf" }; + public static string[] AllowedFileMimetypesDefault = new string[] { "text/plain", "application/msword", "application/x-pdf", "application/pdf", "image/png" , "video/mp4", "image/jpeg" }; /// /// Allowed validation extensions.