Skip to content

Commit 8cc467c

Browse files
authored
Serve .webcil as application/octet-stream (#989)
WebCIL is a new container format for .NET assemblies used when publishing WebAssembly apps (see dotnet/runtime#79416) Related to dotnet/runtime#80807
1 parent 87858f2 commit 8cc467c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.XHarness.CLI/Commands/WebServer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void Configure(IApplicationBuilder app, IOptionsMonitor<TestWebServerOpti
120120
provider.Mappings[".cjs"] = "text/javascript";
121121
provider.Mappings[".mjs"] = "text/javascript";
122122

123-
foreach (var extn in new string[] { ".dll", ".pdb", ".dat", ".blat" })
123+
foreach (var extn in new string[] { ".dll", ".pdb", ".dat", ".blat", ".webcil" })
124124
{
125125
provider.Mappings[extn] = "application/octet-stream";
126126
}

0 commit comments

Comments
 (0)