Skip to content

Commit f554afa

Browse files
fix cr comments
1 parent a4fe325 commit f554afa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/integrate/third-party-tools/kinde-nextjs-drizzle.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ By the end of this guide, you’ll have a robust authentication flow complete wi
180180
})
181181
}
182182

183-
return NextResponse.redirect("http://localhost:3000/dashboard")
183+
return NextResponse.redirect("/")
184184
}
185185
```
186186

@@ -189,7 +189,7 @@ By the end of this guide, you’ll have a robust authentication flow complete wi
189189
- Imports the Drizzle database instance, and the user table function.
190190
- Imports functions to interact with the Kinde Server Session and handle the Next.js response.
191191
- Defines a **GET** route to retrieve the authenticated user's information.
192-
- Checks if the user is already stored in the database and updates the database with user information if not.
192+
- Checks if the user is already stored in the database and inserts user information if not.
193193

194194
3. Open the `.env` or `.env.local` file in your project and update the `KINDE_POST_LOGIN_REDIRECT_URL` field with the following value:
195195

0 commit comments

Comments
 (0)