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

Main <- [hotfix/middleware] #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

robbiecren07
Copy link

Added the missing logic in the middleware to prevent the infinite redirect loop on the login page (as you mentioned in your youtube video).

Copy link

vercel bot commented May 28, 2024

@robbiecren07 is attempting to deploy a commit to the Supabase Demos Team on Vercel.

A member of the Team first needs to authorize it.

@robbiecren07
Copy link
Author

Actually with the matcher option set like /f/:path*, there is no need for the startsWith('/login') logic.

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