We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a184e5d + 3d3fc81 commit 569f17cCopy full SHA for 569f17c
modules/ui.py
@@ -38,6 +38,7 @@
38
# this is a fix for Windows users. Without it, javascript files will be served with text/html content-type and the browser will not show any UI
39
mimetypes.init()
40
mimetypes.add_type('application/javascript', '.js')
41
+mimetypes.add_type('application/javascript', '.mjs')
42
43
# Likewise, add explicit content-type header for certain missing image types
44
mimetypes.add_type('image/webp', '.webp')
0 commit comments