@wendongfly/myhi 1.0.72 → 1.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -285,7 +285,8 @@
285
285
  if (data.exclusive || data.hasUsers) document.getElementById('logout-btn').style.display = '';
286
286
  }).catch(() => {});
287
287
  function doLogout() {
288
- if (!confirm('确定退出登录?当前所有会话将被关闭。')) return;
288
+ if (!confirm('确定退出登录?')) return;
289
+ try { for (const t of Object.values(tabs)) t.socket?.disconnect(); } catch {}
289
290
  fetch('/logout', { method: 'POST' }).then(() => { location.href = '/login'; });
290
291
  }
291
292
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wendongfly/myhi",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "description": "Web-based terminal sharing with chat UI — control your terminal from phone via LAN/Tailscale",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",