We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02f4a64 commit 6a9d712Copy full SHA for 6a9d712
1 file changed
EmbeddedSpa/ContentTypes.cs
@@ -4,6 +4,9 @@ public static class ContentTypes
4
{
5
public static string Get(string path)
6
7
+ if (path.EndsWith(".wasm")) return "application/wasm";
8
+ if (path.EndsWith(".css.br")) return "text/css";
9
+ if (path.EndsWith(".css.gz")) return "text/css";
10
if (path.EndsWith(".html")) return "text/html";
11
if (path.EndsWith(".js") || path.EndsWith(".mjs")) return "application/javascript";
12
if (path.EndsWith(".css")) return "text/css";
@@ -34,4 +37,4 @@ public static string Get(string path)
34
37
if (path.EndsWith(".manifest")) return "application/manifest+json";
35
38
return "application/octet-stream";
36
39
}
-}
40
+}
0 commit comments