Fix ContentType
This commit is contained in:
@@ -7,7 +7,7 @@ public static class ContentTypes
|
||||
private const string ImagePng = "image/png";
|
||||
private const string ImageJpeg = "image/jpeg";
|
||||
private const string ImageJpg = "image/jpg";
|
||||
private static string TextHtml = "text/html";
|
||||
private const string TextHtml = "text/html";
|
||||
|
||||
private static readonly HashSet<string> AllowedContentTypes = [ImagePng, ImageJpeg, ImageJpg, TextHtml];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user