Skip to content

Comments

Client side redirect to remove trailing slashes#12

Merged
brophdawg11 merged 2 commits intomainfrom
brophdawg11/trailing-slashes
Sep 18, 2025
Merged

Client side redirect to remove trailing slashes#12
brophdawg11 merged 2 commits intomainfrom
brophdawg11/trailing-slashes

Conversation

@brophdawg11
Copy link
Collaborator

Fixes some broken links on prerendered pages when trailing slashes are used. See https://v2.remix.run/docs/guides/client-data/ and click on the clientLoader link for an example.

Copy link
Contributor

@brookslybrand brookslybrand left a comment

Choose a reason for hiding this comment

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

Fun unexpected side effect

Thanks for noticing!

@brophdawg11 brophdawg11 merged commit 4258885 into main Sep 18, 2025
2 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/trailing-slashes branch September 18, 2025 13:53
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