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(website): enable // in token form URL input #7923

Conversation

unrenamed
Copy link
Contributor

Fixes: #7861

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This pull request modifies the updateBaseUrl function in the token form component to allow double slashes in custom URL inputs, addressing issue #7861.

  • Updated packages/twenty-website/src/app/_components/playground/token-form.tsx to simplify URL processing for custom inputs
  • Removed logic that strips trailing slashes from custom base URLs
  • Enables users to type 'https://' in the URL field without issues
  • Improves user experience when entering custom API endpoints in the token form

1 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

@charlesBochet charlesBochet merged commit 4578674 into twentyhq:main Oct 21, 2024
16 checks passed
Copy link

oss-gg bot commented Oct 21, 2024

Awarding unrenamed: 50 points 🕹️ Well done! Check out your new contribution on oss.gg/unrenamed

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.

// can't be typed in URL in API docs
2 participants