When a regular account requests delete function, direct to signout API as well
This commit is contained in:
parent
281d99a4da
commit
b31ef2b5b8
1 changed files with 1 additions and 1 deletions
|
@ -10,5 +10,5 @@ export const POST: APIRoute = async ({ redirect }) => {
|
|||
return new Response(error.message, { status: 500 })
|
||||
}
|
||||
|
||||
return redirect("/signout")
|
||||
return redirect("/api/auth/signout")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue