From 82130b723f12201e8da5d30120c918a5c78e0bd4 Mon Sep 17 00:00:00 2001 From: Ricky Brundritt Date: Fri, 2 Aug 2024 15:18:10 -0700 Subject: [PATCH] Update PathUtils.cs --- HybridWebView/PathUtils.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HybridWebView/PathUtils.cs b/HybridWebView/PathUtils.cs index 81b1753..11500e8 100644 --- a/HybridWebView/PathUtils.cs +++ b/HybridWebView/PathUtils.cs @@ -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", @@ -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, };