You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/docs/tutorials/nuxt-ssr-auth/step-3/+page.markdoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ step: 3
7
7
Before you can use Appwrite, you need to create the Appwrite `Client` and set the project ID and endpoint.
8
8
The client is then used to create services like `Databases` and `Account`, so they all point to the same Appwrite project.
9
9
10
-
Create a function to build services you need in a file like `server/lib/appwrite.js` and **exporting the instances**.
10
+
Create a function to the build services you need in a file like `server/lib/appwrite.js` and **exporting the instances**.
11
11
12
12
As part of the function, set the current user's session if they are logged in. This is done by accessing the session cookie from the request and calling the `setSession(session)` with the cookie value.
0 commit comments