summaryrefslogtreecommitdiff
path: root/tools/http_server.py
diff options
context:
space:
mode:
authorYusuke Sakurai <kerokerokerop@gmail.com>2019-10-17 02:35:04 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-10-16 13:35:04 -0400
commitc1b302d76968bb55df24ef360a9fbf71857ae35c (patch)
tree62893ada3171354dd6f92c2cb7b237ef3702e7fc /tools/http_server.py
parent5983507255c8f725ee36ff53f6f8ecb2cb41e607 (diff)
fix: remote jsx/tsx files were compiled as js/ts (#3125)
Diffstat (limited to 'tools/http_server.py')
-rwxr-xr-xtools/http_server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/http_server.py b/tools/http_server.py
index 1951c9e53..0a8212b82 100755
--- a/tools/http_server.py
+++ b/tools/http_server.py
@@ -111,6 +111,8 @@ def server():
Handler.extensions_map.update({
".ts": "application/typescript",
".js": "application/javascript",
+ ".tsx": "application/typescript",
+ ".jsx": "application/javascript",
".json": "application/json",
})
SocketServer.TCPServer.allow_reuse_address = True