
Hello,
I just followed this tutorial https://appwrite.io/docs/tutorials/sveltekit-ssr-auth/step-1 and things work somewhat. If i am not authenticated and i visit /account
i am redirected to /signup
as expected. One item that doesn't behave as expected is when I navigate to the home page /
while already authenticated I get redirected to /signup
and not to /account
. Is there something missing in the hooks.server.js file or maybe the file here src/routes/+page.server.js
?
Thank you, Jon-Eric Cook
Recommended threads
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
