Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 8b29322

Browse files
committed
Add mimetype for .woff2
1 parent b730eb9 commit 8b29322

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ServiceStack.Text/HttpUtils.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,8 @@ public static string GetMimeType(string fileNameOrExt)
984984

985985
case "woff":
986986
return "application/font-woff";
987+
case "woff2":
988+
return "application/font-woff2";
987989

988990
default:
989991
return "application/" + fileExt;

0 commit comments

Comments
 (0)