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: Remove Excess Forward Slashes From Request Path #11

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

ItzNotABug
Copy link
Owner

This PR fixes the behaviour of the router where the forward slash at the end is treated as a different url.

Before :

'/users' > Data from endpoint.
'/users/' > Cannot GET '/users/'.

After :

'/users' > Data from endpoint.
'/users/' > Data from endpoint.

@ItzNotABug ItzNotABug self-assigned this Apr 29, 2024
@ItzNotABug ItzNotABug merged commit fb26af7 into master Apr 30, 2024
1 check passed
@ItzNotABug ItzNotABug deleted the fix-forward-slash-issue branch April 30, 2024 09:52
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.

1 participant