We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8785a2a commit 674c570Copy full SHA for 674c570
src/py/reactpy/reactpy/backend/__init__.py
@@ -0,0 +1,7 @@
1
+import mimetypes
2
+
3
+# Fix for issue where Windows registry gets corrupt and mime types go missing
4
+mimetypes.init()
5
+for extension, type in mimetypes.common_types.items():
6
+ if not mimetypes.types_map.get(extension):
7
+ mimetypes.add_type(type, extension)
0 commit comments