
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
- Error importing data after server migrat...
Hello, I recently purchased a new web server and when trying to migrate my data from the old server to the new (both self-hosted instances of appwrite on coolif...
- REST API does not work for queries
``` curl -X GET "https://cloud.appwrite.io/v1/databases/<db-id>/collections/<c-id>/documents" -H "X-Appwrite-Project: <project-id>" -H "X-Appwrite-Key: <key>"...
- deleteDocments is not a function
Hello. At the bottom of my project's console, in the footer, I have `Version 1.7.4`. However, when I run my server side function, I am told that `databases.dele...
