chore: simplify logoutController #1342

Merged
Sainan merged 2 commits from simplify-logout into main 2025-03-27 03:33:40 -07:00
Showing only changes of commit b2423f5d41 - Show all commits

View File

@ -20,5 +20,9 @@ export const logoutController: RequestHandler = async (req, res) => {
}
);
res.end();
res.writeHead(200, {
"Content-Type": "text/html",
"Content-Length": 1
});
res.end("1");
};