fix(ui): 优化 WebSocket 连接和 PWA meta 标签

- WebSocket onopen 检查 isClosingRef,组件卸载后自动关闭连接
- 更新 PWA meta 标签为 mobile-web-app-capable
This commit is contained in:
2025-12-15 10:29:49 +08:00
parent 9e55237dae
commit bbce1de60c
2 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<!-- PWA Meta Tags -->
<meta name="theme-color" content="#111827" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="AI Assistant" />
<meta name="description" content="AI Terminal Assistant - Your intelligent coding companion" />