로그인 페이지에서 Token Refresh 성공시의 자동 리다이렉션 구현

This commit is contained in:
static
2024-12-29 23:31:33 +09:00
parent 4a10ba0fbf
commit 95bad90f36
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
const refreshToken = async () => {
export const refreshToken = async () => {
return await fetch("/api/auth/refreshToken", { method: "POST" });
};