diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-10-27 17:26:42 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-28 11:18:53 -0700 |
commit | a68403d09006af3e7f75aacb9e818ce3bcf60b13 (patch) | |
tree | 26ba8f95660697ef9d20a6f4d6fdccf327444f22 /tools/http_server.py | |
parent | da959e8c878382ce3417ab61db8ccf1ae9a660fa (diff) |
Add application/x-typescript mime type support
Diffstat (limited to 'tools/http_server.py')
-rwxr-xr-x | tools/http_server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/http_server.py b/tools/http_server.py index 011f3c31a..065635c6f 100755 --- a/tools/http_server.py +++ b/tools/http_server.py @@ -22,6 +22,8 @@ class ContentTypeHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): return "video/vnd.dlna.mpeg-tts" if ".t3." in path: return "video/mp2t" + if ".t4." in path: + return "application/x-typescript" if ".j1." in path: return "text/javascript" if ".j2." in path: |