Skip to content

fix(desktop): avoid relay dev port collision#5269

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/relay-dev-port
May 19, 2026
Merged

fix(desktop): avoid relay dev port collision#5269
ComputelessComputer merged 1 commit into
mainfrom
fix/relay-dev-port

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented May 19, 2026

Run Tauri dev relay on a separate port and inject the configured relay port into the browser shim.


Note

Low Risk
Low risk: only changes local dev configuration by moving the Tauri relay to a different port and plumbing that port into the browser relay shim; production/runtime behavior should remain unchanged.

Overview
Avoids relay port conflicts in desktop dev. tauri:dev now sets RELAY_PORT=1424 instead of relying on the default 1423.

The browser relay shim is updated to use an injected __RELAY_PORT__ value, and the Vite relayShim plugin now replaces that placeholder from process.env.RELAY_PORT (falling back to 1423).

Reviewed by Cursor Bugbot for commit a43f58c. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2026

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit a43f58c
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a0c574994afca0008c69e0e

Run Tauri dev relay on a separate port and inject the configured relay port into the browser shim.
@ComputelessComputer ComputelessComputer merged commit 87b991a into main May 19, 2026
10 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/relay-dev-port branch May 19, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant