Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Invalid URL Construction Error When Saving Advanced Settings #8248

Closed
rahul-rocket opened this issue Sep 24, 2024 · 0 comments · Fixed by #8727
Closed

[Fix] Invalid URL Construction Error When Saving Advanced Settings #8248

rahul-rocket opened this issue Sep 24, 2024 · 0 comments · Fixed by #8727
Assignees
Labels

Comments

@rahul-rocket
Copy link
Collaborator

Description:
When clicking the "Save" button after the "Check" button in the Advanced Settings screen, an error dialog is displayed with the message:

Error Message: "Failed to construct 'URL': Invalid URL"

Steps to Reproduce:

  1. Navigate to the "Advanced Settings" screen.
  2. Enter localhost as the API Host and 3000 as the Port.
  3. Click the "Check" button to validate the settings.
  4. Click the "Save" button.

Observed Behavior: The application constructs an invalid URL in the format http://localhost:3000:3000, causing the error dialog to appear.

Expected Behavior:

  • The application should correctly construct the URL as http://localhost:3000 without duplicating the port.
  • The error message should be replaced with a more user-friendly toaster notification instead of a dialog box.
@syns2191 syns2191 linked a pull request Jan 12, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants