Skip to content

Commit

Permalink
BlazorWasmSdk: Serve .webcil as application/octet-stream
Browse files Browse the repository at this point in the history
WebCIL is a new container format for .NET assemblies when publishing
to webassembly.  (See dotnet/runtime#79416)

Related to dotnet/runtime#80807
  • Loading branch information
lambdageek authored and ViktorHofer committed Jan 25, 2023
1 parent 7ae6329 commit 5fe0a49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/BlazorWasmSdk/Targets/BlazorWasm.web.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
<remove fileExtension=".blat" />
<remove fileExtension=".dat" />
<remove fileExtension=".dll" />
<remove fileExtension=".webcil" />
<remove fileExtension=".json" />
<remove fileExtension=".wasm" />
<remove fileExtension=".woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".blat" mimeType="application/octet-stream" />
<mimeMap fileExtension=".dll" mimeType="application/octet-stream" />
<mimeMap fileExtension=".webcil" mimeType="application/octet-stream" />
<mimeMap fileExtension=".dat" mimeType="application/octet-stream" />
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
Expand Down

0 comments on commit 5fe0a49

Please sign in to comment.