Skip to content

redirect to / instead of /signup or/home, sign out cleanup#677

Merged
moehdotdev merged 1 commit into
mainfrom
dev
Apr 16, 2026
Merged

redirect to / instead of /signup or/home, sign out cleanup#677
moehdotdev merged 1 commit into
mainfrom
dev

Conversation

@moehdotdev

Copy link
Copy Markdown
Member

redirect to / instead of /signup or /home + sign out cleanup

small routing consistency pass.

  • unauthenticated redirect in home/layout.tsx changed from /signup to /
  • missing param redirects in home/[id]/page.tsx and home/[id]/[slug]/page.tsx changed from /home to /
  • sign out in AppSidebar.tsx switched from router.replace("/") + router.refresh() to redirect("/") — cleaner and consistent with the other redirects

why

centralizes all fallback routing to / so the landing page handles where to send the user from there, rather than having different pages make that decision independently.

@vercel

vercel Bot commented Apr 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
notevo Building Building Preview, Comment Apr 16, 2026 6:25am

@moehdotdev moehdotdev merged commit 0450f41 into main Apr 16, 2026
1 of 2 checks passed
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