fix(tray): use configured port for Open Web UI#362
Merged
Conversation
… 8080 Reads the actual listen address from the /api/v1/info endpoint instead of hardcoding port 8080. This fixes the issue where users with non-default ports would be directed to the wrong URL. The webUiUrl from the info response is parsed to extract the base URL (scheme + host + port), stored in AppState.webUIBaseURL, and used by both TrayMenu.openWebUI() and AppController.openWebUI(). The SSEClient also uses the correct base URL now instead of hardcoded 8080. Fixes #361 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying mcpproxy-docs with
|
| Latest commit: |
e98ae5b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://724e767b.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://fix-361-tray-webui-port.mcpproxy-docs.pages.dev |
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 23882338875 --repo smart-mcp-proxy/mcpproxy-go
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/v1/infoinstead of hardcoding port 8080 in the macOS tray app's "Open Web UI" actionwebUIBaseURLproperty toAppState, populated from the info endpoint during core connectionTrayMenu.openWebUI()(SwiftUI menu) andAppController.openWebUI()(NSMenu) to use the dynamic URLSSEClientinitialization to use the correct base URLTest plan
"listen": "127.0.0.1:18080")http://127.0.0.1:18080/ui/Fixes #361
🤖 Generated with Claude Code