Skip to content

Commit

Permalink
🐛 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nrmnqdds committed Oct 6, 2024
1 parent a9cab5a commit bb7c8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/logout/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ export async function DELETE() {
// Clear the cookie
cookies().delete("MOD_AUTH_CAS");

return NextResponse.redirect("/");
return NextResponse.json({ success: true }, { status: 200 });
}

0 comments on commit bb7c8b2

Please sign in to comment.