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

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

No files matched your search

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