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: ignore extra slash at end of cli endpoint #1471

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

mathnogueira
Copy link
Member

This PR makes the CLI ignore the slash at the end of the endpoint and prevent that from making the API calls from failing.

http://localhost:1234/ becomes http://localhost:1234

This PR also considers that the configuration can be edited by hand and still removes the slash from other places when configuring the CLI HTTP client.

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@mathnogueira mathnogueira merged commit b744d11 into main Nov 11, 2022
@mathnogueira mathnogueira deleted the fix/remove-extra-slashes-from-url branch November 11, 2022 15:25
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.

None yet

3 participants