Skip to content

Commit 45a2751

Browse files
pmp-pbrettcannon
andauthored
Update browser-ui/server.py
Co-authored-by: Brett Cannon <brett@python.org>
1 parent ff17b04 commit 45a2751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser-ui/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
mimetypes.init()
66
if ".wasm" not in mimetypes.types_map:
7-
mimetypes.types_map[".wasm"] = "application/wasm"
7+
mimetypes.add_type("application/wasm", ".wasm")
88

99
import argparse
1010
from http import server

0 commit comments

Comments
 (0)