Skip to content

Conversation

@ryanfitton
Copy link
Contributor

@ryanfitton ryanfitton commented Mar 31, 2025

Fixes #1137

This PR fixes the issue on the regex in list layouts for removing the trailing slash used in pagination.

If trailingSlash: true in next.config.js, this will now remove the trailing slashes.

Also removed some console.log() messages.

@vercel
Copy link

vercel bot commented Mar 31, 2025

@ryanfitton is attempting to deploy a commit to the timlrx's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Apr 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwind-nextjs-starter-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 2:09pm

@timlrx
Copy link
Owner

timlrx commented Apr 1, 2025

Good catch, thanks for the fix!

@timlrx timlrx merged commit 59b70db into timlrx:main Apr 1, 2025
1 check passed
bhiwagade-rahul pushed a commit to bhiwagade-rahul/tailwind-nextjs-starter-blog that referenced this pull request Sep 22, 2025
Fix for regex trialing slash if `trailingSlash: true`
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.

Regex for removing trailing slash on list layouts not working

2 participants