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

Commit 757f6bb

Browse files
committed
Add TypeScript mimetype
1 parent a5247ca commit 757f6bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ServiceStack.Text/HttpUtils.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,9 @@ public static string GetMimeType(string fileNameOrExt)
924924
case "js":
925925
return "text/javascript";
926926

927+
case "ts":
928+
return "text/x.typescript";
929+
927930
case "csv":
928931
case "css":
929932
case "sgml":

0 commit comments

Comments
 (0)