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

Move responsibility of protecting routes out of hooks.server.ts #143

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

franknoirot
Copy link
Collaborator

Trying more work to repair #129. Now trying to remove the burden of protecting routes off of hooks.server.ts, and instead put it on the +layout.server.ts to redirect the user home and delete their cookie if they don't have a user there.

Copy link

vercel bot commented Jul 20, 2024

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

Name Status Preview Updated (UTC)
text-to-cad-ui ✅ Ready (Inspect) Visit Preview Jul 20, 2024 10:17am

@franknoirot franknoirot merged commit ca0277d into main Jul 20, 2024
3 checks passed
@franknoirot franknoirot deleted the franknoirot/redirects-out-of-hooks branch July 20, 2024 10:20
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