Middleware with Supabase is not doing anything...
Answered
Crème D’Argent posted this in #help-forum
Crème D’ArgentOP
im really not sure what I am doing wrong? I have followed the supabase docs for nextjs and I cant get the route to be protected at all. it's not redirecting or even logging the user. I even did what it says in the nextjs docs about the matcher. is anyone able to help it would be much appreciated?
2 Replies
@@ts-ignore move the file inside `src`
Crème D’ArgentOP
I did do this originally and still nothing happened but I did it again with some changes to the middleware itself and it worked. Thank you!