workaround for issue #181

This commit is contained in:
Soulter
2024-08-03 17:03:38 +08:00
parent 89ff103bda
commit 9566bfe122
+1 -1
View File
@@ -44,7 +44,7 @@ def check_env():
os.makedirs("data/config", exist_ok=True)
os.makedirs("temp", exist_ok=True)
# workaround for issue #188
# workaround for issue #181
mimetypes.add_type("text/javascript", ".js")
mimetypes.add_type("text/javascript", ".mjs")
mimetypes.add_type("application/json", ".json")