summaryrefslogtreecommitdiff
path: root/std/http/file_server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/file_server.ts')
-rwxr-xr-xstd/http/file_server.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/http/file_server.ts b/std/http/file_server.ts
index 79f3e5081..468e8a60e 100755
--- a/std/http/file_server.ts
+++ b/std/http/file_server.ts
@@ -47,10 +47,10 @@ const MEDIA_TYPES: Record<string, string> = {
".json": "application/json",
".map": "application/json",
".txt": "text/plain",
- ".ts": "application/typescript",
- ".tsx": "application/typescript",
+ ".ts": "text/typescript",
+ ".tsx": "text/tsx",
".js": "application/javascript",
- ".jsx": "application/jsx",
+ ".jsx": "text/jsx",
".gz": "application/gzip",
};