Commit 14fa24e
committed
Fix: skip Tailscale endpoint resolution in local-only mode
In local-only mode the backend binds to 127.0.0.1, so Tailscale CGNAT
addresses (100.64.x.y) are unreachable. However, resolveTailscaleAdvertisedEndpoints
was called unconditionally, producing endpoints marked as 'available' that
would rank higher than the working loopback endpoint during selection.
Return only core endpoints when exposure mode is 'local-only'.1 parent 0f13603 commit 14fa24e
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
329 | 332 | | |
330 | 333 | | |
331 | 334 | | |
| |||
0 commit comments