No need to register .wasm media type since ASP.NET Core 2.2 (#6731)
This commit is contained in:
parent
d838165642
commit
9020ab6386
|
|
@ -160,7 +160,6 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
{
|
{
|
||||||
var result = new FileExtensionContentTypeProvider();
|
var result = new FileExtensionContentTypeProvider();
|
||||||
AddMapping(result, ".dll", MediaTypeNames.Application.Octet);
|
AddMapping(result, ".dll", MediaTypeNames.Application.Octet);
|
||||||
AddMapping(result, ".wasm", WasmMediaTypeNames.Application.Wasm);
|
|
||||||
|
|
||||||
if (enableDebugging)
|
if (enableDebugging)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue