fix: get rid of UDP broadcase and use port 61000 instead of a random port

This commit is contained in:
neoapps-dev
2026-05-17 14:11:32 +03:00
parent 45b69acb9b
commit c2fb9ece72
2 changed files with 9 additions and 91 deletions
@@ -62,10 +62,10 @@ export default function ChooseInstanceModal({
setStatus("Connecting via relay...");
const baseUrl = lceLiveService.apiBaseUrl;
const accessToken = lceLiveService.accessToken ?? "";
const port = await TauriService.startRelayProxy(baseUrl, accessToken, sessionId);
await TauriService.startRelayProxy(baseUrl, accessToken, sessionId);
setStatus("Launching game...");
await TauriService.launchGame(selectedInstance, [
{ name: invite.hostName || "LCELive Game", ip: "127.0.0.1", port }
{ name: invite.hostName || "LCELive Game", ip: "127.0.0.1", port: 61000 }
]);
} else {
setStatus("Launching game...");