fix: signout route

This commit is contained in:
DecDuck
2025-05-07 10:43:27 +10:00
parent a47debda91
commit c0c55d35f4
2 changed files with 1 additions and 42 deletions

View File

@ -0,0 +1,7 @@
import sessionHandler from "../../internal/session";
export default defineEventHandler(async (h3) => {
await sessionHandler.signout(h3);
return sendRedirect(h3, "/auth/signin");
});