Repository navigation
Commit 4def412
fix(desktop): LAN pairing links follow the current network address
A network-accessible desktop backend binds 0.0.0.0, but Connections and
the advertised endpoints kept the LAN address read at startup or at the
last mode change. After moving to another network, pairing links and
QR codes pointed at an address the machine no longer had.
Resolve the advertised LAN host from the current interfaces whenever the
state or endpoints are read. The binding, mode and any explicit
T3CODE_DESKTOP_LAN_HOST override are unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent d53873b commit 4def412
2 files changed
Lines changed: 64 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
241 | 269 | | |
242 | 270 | | |
243 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
420 | 444 | | |
421 | 445 | | |
422 | 446 | | |
| |||
468 | 492 | | |
469 | 493 | | |
470 | 494 | | |
471 | | - | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
472 | 506 | | |
473 | 507 | | |
474 | 508 | | |
| |||
565 | 599 | | |
566 | 600 | | |
567 | 601 | | |
568 | | - | |
569 | 602 | | |
| 603 | + | |
570 | 604 | | |
571 | 605 | | |
572 | 606 | | |
| |||
0 commit comments