Sveltekit protected routes question
as per the docs https://supabase.com/docs/guides/auth/server-side/sveltekit
In the hooks.server.ts:
So any route I want to "protect" I need to add it to this if check? Or put protected routes into the /protected directory? Bit confused on what's the way its supposed to work.
In the hooks.server.ts:
So any route I want to "protect" I need to add it to this if check? Or put protected routes into the /protected directory? Bit confused on what's the way its supposed to work.
