Skip to content

[CHIA-4389] Enabled to choose port to run GUI - #2950

Open
ChiaMineJP wants to merge 3 commits into
mainfrom
env-port
Open

[CHIA-4389] Enabled to choose port to run GUI#2950
ChiaMineJP wants to merge 3 commits into
mainfrom
env-port

Conversation

@ChiaMineJP

@ChiaMineJP ChiaMineJP commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Allowed to set port from env. Only effective in dev.


Note

Low Risk
Dev-only URL and webpack devServer port wiring; no production load path or security-sensitive logic changes.

Overview
Development GUI port is no longer fixed at 3000. Set CHIA_GUI_PORT (env or packages/gui/.env via webpack’s new dotenv load) and both the React webpack dev server and the Electron dev loadURL use that port, with 3000 as the fallback.

Production builds are unchanged: Electron still loads the packaged file:// renderer.

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

@ChiaMineJP
ChiaMineJP requested review from arvidn, emlowe and seeden June 8, 2026 11:07
@ChiaMineJP ChiaMineJP self-assigned this Jun 8, 2026
@ChiaMineJP
ChiaMineJP requested a review from a team as a code owner June 8, 2026 11:07
Comment thread packages/gui/webpack.react.babel.ts
@danieljperry

Copy link
Copy Markdown
Contributor

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit e7196a6. Configure here.

@danieljperry danieljperry changed the title Enabled to choose port to run GUI [CHIA-4389] Enabled to choose port to run GUI Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants