Fetch the current pairing code from GET /admin/paircode (localhost-only) and display it in both the initial PairingDialog and the /pairing management page. Users no longer need to check the terminal to find the 6-digit code — it appears directly in the web UI. Falls back gracefully when the admin endpoint is unreachable (e.g. non-localhost access), showing the original "check your terminal" prompt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||