From eec6ae2379ede14c513d031061bd5030e83519ea Mon Sep 17 00:00:00 2001 From: Chris R Date: Tue, 10 Jan 2017 15:48:55 -0800 Subject: [PATCH] #163 Update woff2 media type --- .../FileExtensionContentTypeProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.StaticFiles/FileExtensionContentTypeProvider.cs b/src/Microsoft.AspNetCore.StaticFiles/FileExtensionContentTypeProvider.cs index 5653fab353..f2e8f1b788 100644 --- a/src/Microsoft.AspNetCore.StaticFiles/FileExtensionContentTypeProvider.cs +++ b/src/Microsoft.AspNetCore.StaticFiles/FileExtensionContentTypeProvider.cs @@ -352,8 +352,8 @@ namespace Microsoft.AspNetCore.StaticFiles { ".wmv", "video/x-ms-wmv" }, { ".wmx", "video/x-ms-wmx" }, { ".wmz", "application/x-ms-wmz" }, - { ".woff", "application/font-woff" }, - { ".woff2", "application/font-woff2" }, + { ".woff", "application/font-woff" }, // https://www.w3.org/TR/WOFF/#appendix-b + { ".woff2", "font/woff2" }, // https://www.w3.org/TR/WOFF2/#IMT { ".wps", "application/vnd.ms-works" }, { ".wri", "application/x-mswrite" }, { ".wrl", "x-world/x-vrml" },