fix: enable threaded Flask for SSE and make embed tab switch instant

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 11:09:34 +08:00
parent 3db84d07e3
commit 799a4d6b8b
5 changed files with 76 additions and 15 deletions
+2
View File
@@ -3,6 +3,8 @@
const root = document.getElementById("options-root");
if (!root) return;
if (root.getAttribute("data-options-booted") === "1") return;
root.setAttribute("data-options-booted", "1");
const panelCache = (window.__optionsPanelCache = window.__optionsPanelCache || {});