mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
Fix WebCRT Quick Connect stuck on authenticating.
New-session path filled wsUrl after mount, remounting the terminal and dropping the connect wait WS. Mint tickets from sessionId only and ignore late wsUrl changes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
fb3da4dfc7
commit
e684339511
2 changed files with 10 additions and 9 deletions
|
|
@ -715,8 +715,10 @@ export const WebTerminal = forwardRef<WebTerminalHandle, Props>(function WebTerm
|
|||
termRef.current = null;
|
||||
fitRef.current = null;
|
||||
};
|
||||
// Fresh ticket per mount when sessionId is set; wsUrl is fallback only.
|
||||
}, [wsUrl, sessionId]);
|
||||
// Fresh ticket per mount when sessionId is set. Do not re-run when a late
|
||||
// parent wsUrl fill-in arrives — that remount dropped the wait-loop WS and
|
||||
// left Quick Connect stuck on "authenticating".
|
||||
}, [sessionId || wsUrl]);
|
||||
|
||||
const pasteFromClipboard = async () => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue