Repository navigation
Commit dbad3bc
Decline --share for dev:desktop
Desktop dev is not single-origin: the renderer gets VITE_HTTP_URL and
VITE_WS_URL baked to loopback, so a tailnet visitor would load the UI and
then watch it dial its own 127.0.0.1 for the backend. Sharing also
overwrote VITE_DEV_SERVER_URL, which is the origin Electron loads the
renderer from.
Warn and carry on serving locally instead of handing out a URL that is
broken in a way the user cannot see.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 8684ca4 commit dbad3bc
2 files changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
657 | 685 | | |
658 | 686 | | |
659 | 687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
594 | 604 | | |
595 | 605 | | |
596 | 606 | | |
| |||
0 commit comments