Skip to content

Commit

Permalink
docs(tutorials): tiny typo (#1529)
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman authored Apr 7, 2024
1 parent f3a5385 commit 50c26c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/tutorials/github-oauth/astro.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export async function POST(context: APIContext): Promise<Response> {
const sessionCookie = lucia.createBlankSessionCookie();
context.cookies.set(sessionCookie.name, sessionCookie.value, sessionCookie.attributes);

return Astro.redirect("/login");
return context.redirect("/login");
}
```

Expand Down

0 comments on commit 50c26c4

Please sign in to comment.