Skip to content

fix(webui): use same-origin API for production route - #27

Merged
thedancingdeveloper merged 1 commit into
mainfrom
fix/production-webui-api-route
Jul 29, 2026
Merged

fix(webui): use same-origin API for production route#27
thedancingdeveloper merged 1 commit into
mainfrom
fix/production-webui-api-route

Conversation

@thedancingdeveloper

Copy link
Copy Markdown
Collaborator

The production web UI is served at /web/ on the API port, but the API client treated port 3031 as the Vite dev server and redirected calls to port 3030. Use port 3030 only for the Vite root path and desktop dev shell; production /web/ uses same-origin requests. Tests: npm test --prefix crates/librtbit/webui; npm run build --prefix crates/librtbit/webui

@thedancingdeveloper
thedancingdeveloper merged commit 66bc5bf into main Jul 29, 2026
6 checks passed
@thedancingdeveloper
thedancingdeveloper deleted the fix/production-webui-api-route branch July 29, 2026 11:05
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