When a regular account requests delete function, direct to signout API as well

This commit is contained in:
Korbs 2024-07-17 19:05:49 -04:00
parent 281d99a4da
commit b31ef2b5b8

View file

@ -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")
}