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

Update RestQueryForm.ts #214

Closed
wants to merge 1 commit into from

Conversation

JakubSzpejewski
Copy link

Remove trailing forward slash from active cluster's uri

In case of active cluster uri having trailing forward slash, all requests sent have doubled slash in url, resulting in failed queries

Remove trailing forward slash from active cluster's uri
cars10 added a commit that referenced this pull request Mar 10, 2024
@cars10
Copy link
Owner

cars10 commented Mar 11, 2024

Not sure how you are able to even have a cluster with an url ending with a slash - this is removed when adding a cluster for this exact reason. But i have fixed the issue, thanks for the pr!

@cars10 cars10 closed this Mar 11, 2024
@JakubSzpejewski JakubSzpejewski deleted the patch-1 branch March 11, 2024 10:53
@JakubSzpejewski
Copy link
Author

@cars10 Yes, you're right when adding a cluster, but when editing it doesn't remove trailing slash

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.

2 participants