강제 로그인 기능 추가

This commit is contained in:
static
2025-07-11 23:15:35 +09:00
parent fa8c163347
commit c47885d571
18 changed files with 187 additions and 98 deletions

View File

@@ -1,6 +1 @@
import { callPostApi } from "$lib/hooks";
export const requestLogout = async () => {
const res = await callPostApi("/api/auth/logout");
return res.ok;
};
export { requestLogout } from "$lib/services/auth";