Skip to content

Commit

Permalink
chore: Update silent authentication fallback path
Browse files Browse the repository at this point in the history
  • Loading branch information
flozia committed Oct 17, 2024
1 parent a4d6f8d commit 9097086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const handler = async (
`${process.env.SERVER_URL}/api/auth/callback/fxa?error=`,
)
) {
return NextResponse.redirect(`${process.env.SERVER_URL}/user/dashboard`);
return NextResponse.redirect(process.env.SERVER_URL as string);
}

return NextAuth(req, res, authOptions) as Promise<Response>;
Expand Down

0 comments on commit 9097086

Please sign in to comment.