Skip to content

Commit

Permalink
Update PathUtils.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrundritt committed Aug 2, 2024
1 parent 00c38e2 commit 82130b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions HybridWebView/PathUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ public static bool TryGetMimeType(string? mimeTypeOrFileExtension, out string? m
{
//WebAssembly file types
"wasm" => "application/wasm",
"wat" => "application/wat",

//Image file types
"png" => "image/png",
Expand Down Expand Up @@ -213,7 +212,7 @@ public static bool TryGetMimeType(string? mimeTypeOrFileExtension, out string? m
"css" => "text/css",
"csv" => "text/csv",
"md" => "text/markdown",
"plain" or "txt" => "text/plain",
"plain" or "txt" or "wat" => "text/plain",

_ => null,
};
Expand Down

0 comments on commit 82130b7

Please sign in to comment.