feat: add patch_mimetype function for consistent mimetype handling

This commit is contained in:
2026-07-06 22:41:01 +08:00
parent 0ca581f1e6
commit bf3cbeaaba
2 changed files with 23 additions and 1 deletions
+2 -1
View File
@@ -51,7 +51,7 @@ from module.webui.fake import (
)
from module.webui.fastapi import asgi_app
from module.webui.lang import _t, t
from module.webui.patch import patch_executor
from module.webui.patch import patch_executor, patch_mimetype
from module.webui.pin import put_input, put_select
from module.webui.process_manager import ProcessManager
from module.webui.remote_access import RemoteAccess
@@ -83,6 +83,7 @@ from module.webui.widgets import (
)
patch_executor()
patch_mimetype()
task_handler = TaskHandler()