Skip to content

Conversation

@webJose
Copy link
Contributor

@webJose webJose commented Feb 19, 2025

Fixes Route doesn't match if the only difference is the ending / #4

The joinPaths function now removes trailing slashes away when the result of joining forms a path with at least one segment.

The calculation for the test path removes any trailing slash as per the same rules above.

Fixes Route doesn't match if the only difference is the ending / #4

The `joinPaths` function now removes trailing slashes away when the result of joining forms a path with at least one segment.

The calculation for the test path removes any trailing slash as per the same rules above.
@webJose webJose merged commit 2729124 into main Feb 19, 2025
@webJose webJose linked an issue Feb 19, 2025 that may be closed by this pull request
@webJose webJose deleted the JP/Fixes branch February 19, 2025 01:19
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.

Route doesn't match if the only difference is the ending /

2 participants