Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit eec6ae2

Browse files
committed
#163 Update woff2 media type
1 parent 1bdec60 commit eec6ae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.AspNetCore.StaticFiles/FileExtensionContentTypeProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ public FileExtensionContentTypeProvider()
352352
{ ".wmv", "video/x-ms-wmv" },
353353
{ ".wmx", "video/x-ms-wmx" },
354354
{ ".wmz", "application/x-ms-wmz" },
355-
{ ".woff", "application/font-woff" },
356-
{ ".woff2", "application/font-woff2" },
355+
{ ".woff", "application/font-woff" }, // https://www.w3.org/TR/WOFF/#appendix-b
356+
{ ".woff2", "font/woff2" }, // https://www.w3.org/TR/WOFF2/#IMT
357357
{ ".wps", "application/vnd.ms-works" },
358358
{ ".wri", "application/x-mswrite" },
359359
{ ".wrl", "x-world/x-vrml" },

0 commit comments

Comments
 (0)