fix(desktop): separate LAN and Tailscale pairing endpoints #9882
Mergedmaria-rcksmerged 2 commits into
main fromrefs/pull/9882/headmerged by maria-rcks View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
- apps/desktop/src/backend/DesktopServerExposure.ts line 390Resolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -378,4 +380,11 @@378380 ...(advertisedHostOverride ? { advertisedHostOverride } : {}),379381 });380382 const unavailable =381- input.requestedMode === "network-accessible" && requestedExposure.endpointUrl === null;383+ input.requestedMode === "network-accessible" &&384+ requestedExposure.endpointUrl === null &&385+ !Object.values(input.networkInterfaces).some((addresses) =>386+ addresses?.some(387+ (address) =>388+ !address.internal && address.family === "IPv4" && isTailscaleIpv4Address(address.address),389+ ),390+ );
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
maria-rcks merged this60e1b73
maria-rcks closed this
Sign in to join this conversation.



cursor[bot](GitHub profile, opens in a new tab) reviewed
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.